Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only add to window if window exists (#42)
This prevents `window is not defined` error when using SSR frameworks such as Next.js.
- Loading branch information