Skip to content

Commit

Permalink
[core] Remove redundant window
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Sep 12, 2024
1 parent 4a62f9f commit a60c952
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/mui-lab/src/Masonry/Masonry.js
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ const Masonry = React.forwardRef(function Masonry(inProps, ref) {

return () => {
if (animationFrame) {
window.cancelAnimationFrame(animationFrame);
cancelAnimationFrame(animationFrame);
}
if (resizeObserver) {
resizeObserver.disconnect();
Expand Down

0 comments on commit a60c952

Please sign in to comment.