Skip to content

Commit e49ae44

Browse files
committed
removing non required watches from the store
1 parent 4a09f7c commit e49ae44

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

src/Frontend/src/stores/SagaDiagramStore.ts

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -257,22 +257,6 @@ export const useSagaDiagramStore = defineStore("SagaDiagramStore", () => {
257257
selectedMessageId.value = messageId;
258258
}
259259

260-
watch(scrollToTimeoutRequest, (newValue) => {
261-
if (newValue) {
262-
setTimeout(() => {
263-
scrollToTimeoutRequest.value = false;
264-
}, 1000);
265-
}
266-
});
267-
268-
watch(scrollToTimeout, (newValue) => {
269-
if (newValue) {
270-
setTimeout(() => {
271-
scrollToTimeout.value = false;
272-
}, 1000);
273-
}
274-
});
275-
276260
return {
277261
sagaHistory,
278262
sagaId,

0 commit comments

Comments
 (0)