Live site shows blank screen after uploading to Netfliy

Hi there, i deployed a react app to netlify for the very first time but the live site shows a blank page. I inspected and I saw this error logged in the console.

Live Site:
https://romantic-sinoussi-eaebe2.netlify.app/

Someone should pls help!

Hi @Que0

Why are you importing useState from 'react/cjs/react.development' instead of importing it from react?

According to the error message, the error is in User.js on line 21. That could be a clue for you to start investigating the error further.

import { useState } from 'react/cjs/react.development';

@nibble, thanks for pointing the error out… The page is working well now

1 Like