React hooks Objects are not valid as a React child. If you meant to render a collection of children, use an array instead. code example
Example: objects are not valid as a react child
// You can't make App an async function... promises must be resolved other ways
// BAD
const App = async () => {
const auth = await somePromise();
return (
<></>
);
}