ed-roh / mern-social-media

Complete React MERN Full Stack Social Media App
992 stars 859 forks source link

after loggend not acees home page #44

Open Prasadsolunki opened 1 year ago

Prasadsolunki commented 1 year ago

My home page doesnt load when I log in. I get this error in the console:

Uncaught TypeError: posts.map is not a function at PostsWidget (PostsWidget.jsx:41:1) at renderWithHooks (react-dom.development.js:16305:1) at mountIndeterminateComponent (react-dom.development.js:20074:1) at beginWork (react-dom.development.js:21587:1) at HTMLUnknownElement.callCallback (react-dom.development.js:4164:1) at Object.invokeGuardedCallbackDev (react-dom.development.js:4213:1) at invokeGuardedCallback (react-dom.development.js:4277:1) at beginWork$1 (react-dom.development.js:27451:1) at performUnitOfWork (react-dom.development.js:26557:1) at workLoopSync (react-dom.development.js:26466:1)

myyoss commented 1 year ago

Try clear local storage with "clear browsing data". It seems like clearing local storage and session storage in browser application is not good enough..:)

Akashkalasagond commented 1 year ago

at my side its just show blank screen with this url: http://localhost:3001/home

myyoss commented 1 year ago

Try different browser see if it works