Skip to content

Commit a0dac1c

Browse files
divdavemmilomg
authored andcommitted
fix issue after svelte update
1 parent 68eab02 commit a0dac1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/frameworks/svelte.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export const svelteFramework: ReactiveFramework = {
2828
effect: (fn) => {
2929
$.render_effect(fn);
3030
},
31-
withBatch: (fn) => $.flush_sync(fn),
31+
withBatch: (fn) => $.flush(fn),
3232
withBuild: <T>(fn: () => T): T => {
3333
let res: T | undefined;
3434
$.effect_root(() => {

0 commit comments

Comments
 (0)