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:

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

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.