You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What you were expecting:
Minimal example should cause no error.
What happened instead:
`TypeError: Cannot read property 'getIdentity' of undefined.`
Uncaught TypeError: Cannot read property 'getIdentity' of undefined
at useGetIdentity.js:81
at commitHookEffectListMount (react-dom.development.js:19731)
at commitPassiveHookEffects (react-dom.development.js:19769)
at HTMLUnknownElement.callCallback (react-dom.development.js:188)
at Object.invokeGuardedCallbackDev (react-dom.development.js:237)
at invokeGuardedCallback (react-dom.development.js:292)
at flushPassiveEffectsImpl (react-dom.development.js:22853)
at unstable_runWithPriority (scheduler.development.js:653)
at runWithPriority$1 (react-dom.development.js:11039)
at flushPassiveEffects (react-dom.development.js:22820)
at performSyncWorkOnRoot (react-dom.development.js:21737)
at react-dom.development.js:11089
at unstable_runWithPriority (scheduler.development.js:653)
at runWithPriority$1 (react-dom.development.js:11039)
at flushSyncCallbackQueueImpl (react-dom.development.js:11084)
at flushSyncCallbackQueue (react-dom.development.js:11072)
at unbatchedUpdates (react-dom.development.js:21909)
at legacyRenderSubtreeIntoContainer (react-dom.development.js:24757)
at Object.render (react-dom.development.js:24840)
at Module../src/index.tsx (index.tsx:7)
at __webpack_require__ (bootstrap:784)
at fn (bootstrap:150)
at Object.1 (index.tsx:9)
at __webpack_require__ (bootstrap:784)
at checkDeferredModules (bootstrap:45)
at Array.webpackJsonpCallback [as push] (bootstrap:32)
at main.chunk.js:1
What you were expecting:
Minimal example should cause no error.
What happened instead:
`TypeError: Cannot read property 'getIdentity' of undefined.`
Steps to reproduce:
make build
yarn start
on example.Related code:
Example code
Other information:
It seems
useGetIdentity
introduced recently.I think auth provider check is missing here.
Environment
d58084418
The text was updated successfully, but these errors were encountered: