Error: Unknown element <[object Object]> in collection when using Table element #1485
-
I'm trying to render a simple table ( https://nextui.org/docs/components/table ) using Next.js (v13.4.19) on React (v18.2.0) - the devault create-next-app, and I get the following error:
My code:
Any idea what's going on? |
Beta Was this translation helpful? Give feedback.
Answered by
jrgarciadev
Aug 24, 2023
Replies: 1 comment 2 replies
-
Hey @danechitoaie place check this issue https://github.com/nextui-org/next-pages-template, you need to add the Thanks! |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
danechitoaie
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @danechitoaie place check this issue https://github.com/nextui-org/next-pages-template, you need to add the
use client
on top for collection-based components, we're already in conversations with react-aria team to fix this.Thanks!