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

Layout should be an array not an object #25

Open
mandolyte opened this issue Nov 3, 2021 · 0 comments
Open

Layout should be an array not an object #25

mandolyte opened this issue Nov 3, 2021 · 0 comments
Labels
invalid This doesn't seem right

Comments

@mandolyte
Copy link
Collaborator

Here is console message:

Warning: Failed prop type: Invalid prop `layout` of type `object` supplied to `Workspace`, expected `array`.
    at Workspace (http://localhost:3000/_next/static/chunks/2.js:6234:24)
    at WorkspaceContainer (http://localhost:3000/_next/static/chunks/2.js:6528:77)
    at LoadableComponent (http://localhost:3000/_next/static/chunks/pages/index.js?ts=1635941328353:277058:37)
    at main
    at div
    at Layout (http://localhost:3000/_next/static/chunks/pages/index.js?ts=1635941328353:500345:23)

Here is a debug log message inserted into the code to show type:

layout, typeof= {lg: Array(5), md: Array(6), sm: Array(6), xs: Array(6)} object
@mandolyte mandolyte added the invalid This doesn't seem right label Nov 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

1 participant