Skip to content

Commit

Permalink
[core][charts] Remove dead code (#14604)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari authored Sep 13, 2024
1 parent f3cfba5 commit 6d96179
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 6d96179

Please sign in to comment.