mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-26 19:31:12 +01:00
Auto-scroll component for websocket/grpc/sse
This commit is contained in:
@@ -25,7 +25,7 @@ function initForWorkspace(workspaceId: string, syncDir: string | null) {
|
||||
const debouncedSync = debounce(() => {
|
||||
if (syncDir == null) return;
|
||||
syncWorkspace.mutate({ workspaceId, syncDir });
|
||||
});
|
||||
}, 1000);
|
||||
|
||||
// Sync on model upsert
|
||||
const unsubUpsertedModels = listenToTauriEvent<ModelPayload>('upserted_model', (p) => {
|
||||
|
||||
Reference in New Issue
Block a user