Can’t use alert or assign things to window in Nextjs
Are you trying to use the window object’s built-in alert function to sanity test your application really quick and you keep getting errors like “Error: alert is not defined”?
Are you trying to use the window object’s built-in alert function to sanity test your application really quick and you keep getting errors like “Error: alert is not defined”?