Skip to content

Commit

Permalink
Remove window resize listener TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
lubej committed Feb 22, 2023
1 parent db5d14a commit 54a7564
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/app/hooks/useGetBoundingClientRect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ export const useGetBoundingClientRect = <T extends SVGElement>(
setRect(boundingClientRect)
}

// TODO: Add window resize listener
useLayoutEffect(() => {
setBoundingRect()
}, [])
Expand Down

0 comments on commit 54a7564

Please sign in to comment.