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

App crashing after calling reactstrap-confirm modal #43

Open
ursnj opened this issue Aug 27, 2022 · 0 comments
Open

App crashing after calling reactstrap-confirm modal #43

ursnj opened this issue Aug 27, 2022 · 0 comments

Comments

@ursnj
Copy link

ursnj commented Aug 27, 2022

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)

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

1 participant