Topic: SideNav is throwing error
demystdata pro asked 6 years ago
warning.js:33 Warning: React.createElement: 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.Started added ErrorBoundaries and chipping away at the components from the example until I only had the SideNav left. All the other navigation elements don't throw an error. Below are the versions I used "react": "^16.3.2", "react-dom": "^16.3.2", "mdbootstrap": "^4.5.1", "mdbreact": "^4.3.0",
Mikołaj Smoleński staff answered 6 years ago
demystdata pro commented 6 years ago
I don't believe so. Was taking a look at this: <a href="https://mdbootstrap.com/react/5-min-quick-start/"" rel="nofollow">https://mdbootstrap.com/react/5-min-quick-start/"</a> But I don't have the credentials to access the git repodemystdata pro commented 6 years ago
Turns out I needed the access token to use the sidebar. ThanksBartłomiej Malanowski staff commented 6 years ago
is the problem still persists?FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Resolved
- ForumUser: Pro
- Premium support: No
- Technology: MDB React
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: Yes
- Provided link: Yes