Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to solve this #146

Open
roopikaik opened this issue Apr 28, 2024 · 1 comment
Open

How to solve this #146

roopikaik opened this issue Apr 28, 2024 · 1 comment

Comments

@roopikaik
Copy link

Unexpected Application Error!
Objects are not valid as a React child (found: object with keys {code, errno, sqlMessage, sqlState, fatal}). If you meant to render a collection of children, use an array instead.
Error: Objects are not valid as a React child (found: object with keys {code, errno, sqlMessage, sqlState, fatal}). If you meant to render a collection of children, use an array instead.
at throwOnInvalidObjectType (http://localhost:3000/static/js/bundle.js:39985:13)
at updateSlot (http://localhost:3000/static/js/bundle.js:40249:11)
at reconcileChildrenArray (http://localhost:3000/static/js/bundle.js:40369:26)
at reconcileChildFibers (http://localhost:3000/static/js/bundle.js:40756:20)
at reconcileChildren (http://localhost:3000/static/js/bundle.js:45183:32)
at updateHostComponent (http://localhost:3000/static/js/bundle.js:45827:7)
at beginWork (http://localhost:3000/static/js/bundle.js:47279:18)
at beginWork$1 (http://localhost:3000/static/js/bundle.js:52214:18)
at performUnitOfWork (http://localhost:3000/static/js/bundle.js:51484:16)
at workLoopSync (http://localhost:3000/static/js/bundle.js:51407:9)
💿 Hey developer 👋

You can provide a way better UX than this when your app throws errors by providing your own ErrorBoundary or errorElement prop on your route.

@dikshant4yu
Copy link

u r sending data as object thats the error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants