Uncaught Error: Objects are not valid as a React child (found: object with keys {_isAMomentObject, _i, _f, _tzm, _isUTC, _pf, _locale, _d, _isValid}). 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 (
<></>
);
}