Skip to content

Commit 9868a88

Browse files
committed
fix: sysinfo scroll data on initialization
A bug in sysinfo made it so the initial data would load but not update until refreshed. This updates the subscription handler with the correct addContinuousData function to correct this.
1 parent a1950fd commit 9868a88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/app/view/sysinfo/sysinfo.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ function SysinfoView({ model, blockId }: SysinfoViewProps) {
377377
return () => {
378378
unsubFn();
379379
};
380-
}, [connName]);
380+
}, [connName, addContinuousData]);
381381
if (connStatus?.status != "connected") {
382382
return null;
383383
}

0 commit comments

Comments
 (0)