Skip to content

Commit

Permalink
fix: undefined window (#452)
Browse files Browse the repository at this point in the history
  • Loading branch information
emilkowalski authored Sep 25, 2024
1 parent e541725 commit b9e44d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export function Root({
}, TRANSITIONS.DURATION * 1000);

if (o && !modal) {
window.requestAnimationFrame(() => {
requestAnimationFrame(() => {
document.body.style.pointerEvents = 'auto';
});
}
Expand Down

0 comments on commit b9e44d5

Please sign in to comment.