I only get an error in browser, This the Error :
Unexpected Application Error!
Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object. You likely forgot to export your component from the file it’s defined in, or you might have mixed up default and named imports. Check the render method of Layout
.
createFiberFromTypeAndProps@http://localhost:3000/static/js/bundle.js:39715:21
createFiberFromElement@http://localhost:3000/static/js/bundle.js:39738:46
createChild@http://localhost:3000/static/js/bundle.js:26685:54
reconcileChildrenArray@http://localhost:3000/static/js/bundle.js:26982:40
reconcileChildFibers@http://localhost:3000/static/js/bundle.js:27396:20
reconcileChildren@http://localhost:3000/static/js/bundle.js:31573:32
updateHostComponent$1@http://localhost:3000/static/js/bundle.js:32287:24
beginWork@http://localhost:3000/static/js/bundle.js:33945:18
beginWork$1@http://localhost:3000/static/js/bundle.js:38731:18
performUnitOfWork@http://localhost:3000/static/js/bundle.js:37929:16
workLoopSync@http://localhost:3000/static/js/bundle.js:37843:26
renderRootSync@http://localhost:3000/static/js/bundle.js:37812:11
recoverFromConcurrentError@http://localhost:3000/static/js/bundle.js:37221:38
performConcurrentWorkOnRoot@http://localhost:3000/static/js/bundle.js:37122:26
workLoop@http://localhost:3000/static/js/bundle.js:48787:46
flushWork@http://localhost:3000/static/js/bundle.js:48761:18
performWorkUntilDeadline@http://localhost:3000/static/js/bundle.js:49045:25
Hey developer
You can provide a way better UX than this when your app throws errors by providing your own ErrorBoundary prop on
I've been trying and try to find the solution in chatGPT but still get the same error in my browser, i hope anyone here can help and give me a solution for this problem