Skip to content

Commit

Permalink
fix: re-enable graphs in devices view
Browse files Browse the repository at this point in the history
  • Loading branch information
YeonV committed Feb 17, 2025
1 parent 5a1cee2 commit 5bedd5c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/utils/Websocket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,8 @@ export const HandleWs = () => {
useLayoutEffect(() => {
if (!graphs || !graphsMulti) {
setPixelGraphs([])
} else {
setPixelGraphs(Object.keys(virtuals))
}
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [graphs, graphsMulti])
Expand Down

0 comments on commit 5bedd5c

Please sign in to comment.