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

Error: window is not defined in nextjs 13 #148

Closed thainv92 closed 10 months ago

thainv92 commented 10 months ago

Describe the bug when i run mode development in nextjs, i will display message error 'ReferenceError: window is not defined'

To Reproduce Steps to reproduce the behavior:

  1. Source nextjs
  2. npm run dev
  3. view log with message: ReferenceError: window is not defined

Expected behavior Not display message error

Screenshots image

Desktop (please complete the following information):

cuongdevjs commented 10 months ago

duplicate #144