Skip to content

Commit

Permalink
fix: sysinfo scroll data on initialization
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
oneirocosm committed Feb 22, 2025
1 parent a1950fd commit 9868a88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/app/view/sysinfo/sysinfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ function SysinfoView({ model, blockId }: SysinfoViewProps) {
return () => {
unsubFn();
};
}, [connName]);
}, [connName, addContinuousData]);
if (connStatus?.status != "connected") {
return null;
}
Expand Down

0 comments on commit 9868a88

Please sign in to comment.