Skip to content

Commit

Permalink
[core][charts] Remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Sep 12, 2024
1 parent 757de46 commit 245c088
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export const useChartContainerDimensions = (inWidth?: number, inHeight?: number)

return () => {
if (animationFrame) {
window.cancelAnimationFrame(animationFrame);
cancelAnimationFrame(animationFrame);
}

if (elementToObserve) {
Expand Down

0 comments on commit 245c088

Please sign in to comment.