Skip to content

Commit f83a1c6

Browse files
committed
feat: pass sessionUsernameQuery.data in useEffect with recordQuery data
1 parent f64d645 commit f83a1c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/web/src/hooks/useInstrumentVisualization.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ export function useInstrumentVisualization({ params }: UseInstrumentVisualizatio
250250
type: 'error'
251251
});
252252
}
253-
}, [recordsQuery.data]);
253+
}, [recordsQuery.data, sessionsUsernameQuery.data]);
254254

255255
const instrumentOptions: { [key: string]: string } = useMemo(() => {
256256
const options: { [key: string]: string } = {};

0 commit comments

Comments
 (0)