Skip to content

Commit 366c5e2

Browse files
ui: untrack settings sync in props effect to prevent reactive loop (ggml-org#23127)
1 parent 1d9f99a commit 366c5e2

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tools/ui/src/routes/+layout.svelte

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,9 @@
153153
const serverProps = serverStore.props;
154154
155155
if (serverProps) {
156-
settingsStore.syncWithServerDefaults();
156+
untrack(() => {
157+
settingsStore.syncWithServerDefaults();
158+
});
157159
}
158160
});
159161

0 commit comments

Comments
 (0)