Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable "SSR" option in "useMediaQuery" (#263)
"useMediaQuery" renders once with default values and only on the second render with the resolved values. Thus, "lastPageNum" can potentially get initialized with the value for small/medium screens instead for large screens.
- Loading branch information