Skip to content

Commit

Permalink
[core][charts] Remove dead code (mui#14604)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari authored and Arthur Balduini committed Sep 30, 2024
1 parent 1b9c2d6 commit f19faa6
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 f19faa6

Please sign in to comment.