-
Notifications
You must be signed in to change notification settings - Fork 7
Description
App getting crashed after calling confirm()
Uncaught (in promise) Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. 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 ConfirmModal.
at createFiberFromTypeAndProps (react-dom.development.js:25058:1)
at createFiberFromElement (react-dom.development.js:25086:1)
at reconcileSingleElement (react-dom.development.js:14052:1)
at reconcileChildFibers (react-dom.development.js:14112:1)
at reconcileChildren (react-dom.development.js:16990:1)
at mountIndeterminateComponent (react-dom.development.js:17890:1)
at beginWork (react-dom.development.js:19049:1)
at HTMLUnknownElement.callCallback (react-dom.development.js:3945:1)
at Object.invokeGuardedCallbackDev (react-dom.development.js:3994:1)
at invokeGuardedCallback (react-dom.development.js:4056:1)