Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
useReducedMotion hook: guard the reference to window (#17165)
Fixes a bug where a naked reference to `window` will crash if used in a SSR context where there's no `window`.
- Loading branch information