cuongdevjs / reactjs-social-login

Group Hook ReactJS components for login social network
https://react-social-login.netlify.app
MIT License
168 stars 75 forks source link

Server Error ReferenceError: window is not defined next js #144

Closed tarangshah19 closed 10 months ago

tarangshah19 commented 10 months ago

Describe the bug ReferenceError: window is not defined

This error happened while generating the page. Any console logs will be displayed in the terminal window.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

cuongdevjs commented 10 months ago

this library only works on the client side. please use ssr: false when using.