Skip to content

Commit

Permalink
refactor(frontend): make graph area panels more responsive
Browse files Browse the repository at this point in the history
  • Loading branch information
kris7t committed Dec 15, 2024
1 parent 66bff71 commit ccff34b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions subprojects/frontend/src/graph/GraphArea.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,7 @@ export default function GraphArea({
graph: GraphStore;
}): JSX.Element {
const { breakpoints } = useTheme();
const { ref, width, height } = useResizeDetector({
refreshMode: 'debounce',
});
const { ref, width, height } = useResizeDetector();
const [svgContainer, setSvgContainer] = useState<HTMLElement | undefined>();

const breakpoint = breakpoints.values.sm;
Expand Down

0 comments on commit ccff34b

Please sign in to comment.