I am trying to deploy a react app using Netlify and the deployment is successful. However, when I go to the URL, the app is blank and has the following error in the console.log.
I've tried many things suggested by other threads but cannot seem to solve it, any suggestions?
Make sure you have imported useState from the correct destination. I think you have written
import { useState } from "react/cjs/react.development"
Replace this with
import { useState } from "react"