Skip to content

Commit 2a4f28b

Browse files
committed
lint
1 parent ac982ee commit 2a4f28b

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

packages/svelte/src/store/utils.js

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,13 @@ export function subscribe_to_store(store, run, invalidate) {
2121
}
2222

2323
// Svelte store takes a private second argument
24-
const unsub = untrack(() => store.subscribe(
25-
run,
26-
// @ts-expect-error
27-
invalidate
28-
));
24+
const unsub = untrack(() =>
25+
store.subscribe(
26+
run,
27+
// @ts-expect-error
28+
invalidate
29+
)
30+
);
2931

3032
// Also support RxJS
3133
// @ts-expect-error TODO fix this in the types?

0 commit comments

Comments
 (0)