Skip to content

Conversation

@TiarraClassified
Copy link

With the current routes.js file, multiple of us get the following error when rendering the routes:

React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: object.

Changing the routes.js file to a functional component fixed this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant