chore(react/ribbon): fix some more crashes when rapidly switching tabs

This commit is contained in:
Elian Doran
2025-08-24 20:31:39 +03:00
parent 1e9b772692
commit 7c86f90ac6
3 changed files with 3 additions and 3 deletions

View File

@@ -544,7 +544,7 @@ export function useWindowSize() {
window.addEventListener("resize", onResize);
return () => window.removeEventListener("resize", onResize);
});
}, []);
return size;
}