Skip to content

Commit

Permalink
Fix performance issue
Browse files Browse the repository at this point in the history
  • Loading branch information
spaaaacccee committed Dec 10, 2023
1 parent ac4d4e9 commit 3e39f4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/hooks/useBreakpoints.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export function useBreakpoints(key?: string) {
step: layer?.source?.trace?.content?.events?.length,
radius: undefined,
},
[layer]
[layer?.source?.trace?.content]
);

return useMemo(() => {
Expand Down

0 comments on commit 3e39f4b

Please sign in to comment.