Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace process.browser because it's deprecated #3

Closed
slowr opened this issue Oct 22, 2020 · 1 comment
Closed

Replace process.browser because it's deprecated #3

slowr opened this issue Oct 22, 2020 · 1 comment

Comments

@slowr
Copy link
Member

slowr commented Oct 22, 2020

vercel/next.js#5354 (comment)

@slowr slowr mentioned this issue Oct 23, 2020
@slowr slowr closed this as completed Oct 26, 2020
@Hussain101
Copy link

I have resolved my issue by changing as this:
(typeof window !== 'undefined' && window.localStorage.getItem("cover"))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants