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

React unique keys console error when adding group field wrapper #9201

Open
dcousens opened this issue Jul 4, 2024 · 1 comment
Open

React unique keys console error when adding group field wrapper #9201

dcousens opened this issue Jul 4, 2024 · 1 comment

Comments

@dcousens
Copy link
Member

dcousens commented Jul 4, 2024

Reverting this back to an issue, I accidentally moved it to a GitHub discussion.

Originally posted by ARkrOSClou July 4, 2024

React unique keys console error when adding group field wrapper

Warning: Each child in a list should have a unique "key" prop.

Check the render method of `Fields`. See https://reactjs.org/link/warning-keys for more information.
    at FieldGroup (webpack-internal:///../../node_modules/@keystone-6/core/dist/Fields-cb2c206c.esm.js:123:69)
    at Fields (webpack-internal:///../../node_modules/@keystone-6/core/dist/Fields-cb2c206c.esm.js:45:3)
    at div
    at eval (webpack-internal:///../../node_modules/@emotion/react/dist/emotion-element-43c6fea0.browser.esm.js:60:66)
    at eval (webpack-internal:///../../node_modules/@keystone-ui/core/dist/keystone-ui-core.esm.js:1082:11)
    at ItemForm (webpack-internal:///../../node_modules/@keystone-6/core/___internal-do-not-…ternal-do-not-use-will-break-in-patch-admin-ui-pages-ItemPage.esm.js:114:3)
    at div
    at eval (webpack-internal:///../../node_modules/@emotion/react/dist/emotion-element-43c6fea0.browser.esm.js:60:66)
    at div
    at eval (webpack-internal:///../../node_modules/@emotion/react/dist/emotion-element-43c6fea0.browser.esm.js:60:66)
    at Container (webpack-internal:///../../node_modules/@keystone-6/core/dist/common-e09bab7f.esm.js:24:3)
    at eval (webpack-internal:///../../node_modules/@emotion/react/dist/emotion-element-43c6fea0.browser.esm.js:60:66)
    at ColumnLayout (webpack-internal:///../../node_modules/@keystone-6/core/dist/common-e09bab7f.esm.js:86:66)
    at main
    at eval (webpack-internal:///../../node_modules/@emotion/react/dist/emotion-element-43c6fea0.browser.esm.js:60:66)
    at Content (webpack-internal:///../../node_modules/@keystone-6/core/dist/PageContainer-c874da2e.esm.js:358:66)
    at div
    at eval (webpack-internal:///../../node_modules/@emotion/react/dist/emotion-element-43c6fea0.browser.esm.js:60:66)
    at PageWrapper
    at PageContainer (webpack-internal:///../../node_modules/@keystone-6/core/dist/PageContainer-c874da2e.esm.js:374:3)
    at ItemPage (webpack-internal:///../../node_modules/@keystone-6/core/___internal-do-not-…ternal-do-not-use-will-break-in-patch-admin-ui-pages-ItemPage.esm.js:363:3)
    at ErrorBoundary (webpack-internal:///../../node_modules/@keystone-6/core/dist/Errors-790aea8c.esm.js:20:5)
    at DrawerProvider (webpack-internal:///../../node_modules/@keystone-ui/modals/dist/keystone-ui-modals.esm.js:54:5)
    at ToastProvider (webpack-internal:///../../node_modules/@keystone-ui/toast/dist/keystone-ui-toast.esm.js:41:5)
    at InternalKeystoneProvider (webpack-internal:///../../node_modules/@keystone-6/core/admin-ui/context/dist/keystone-6-core-admin-ui-context.esm.js:313:3)
    at ApolloProvider (webpack-internal:///../../node_modules/@apollo/client/react/context/ApolloProvider.js:14:21)
    at KeystoneProvider (webpack-internal:///../../node_modules/@keystone-6/core/admin-ui/context/dist/keystone-6-core-admin-ui-context.esm.js:362:14)
    at Core (webpack-internal:///../../node_modules/@keystone-ui/core/dist/keystone-ui-core.esm.js:1304:5)
    at eval (webpack-internal:///../../node_modules/@keystone-6/core/___internal-do-not-…-___internal-do-not-use-will-break-in-patch-admin-ui-pages-App.esm.js:84:3)
    at PathnameContextProviderAdapter (webpack-internal:///../../node_modules/next/dist/shared/lib/router/adapters.js:79:11)
    at ErrorBoundary (webpack-internal:///../../node_modules/next/dist/compiled/@next/react-dev-overlay/dist/client.js:2:5389)
    at ReactDevOverlay (webpack-internal:///../../node_modules/next/dist/compiled/@next/react-dev-overlay/dist/client.js:2:7785)
    at Container (webpack-internal:///../../node_modules/next/dist/client/index.js:78:1)
    at AppContainer (webpack-internal:///../../node_modules/next/dist/client/index.js:182:11)
    at Root (webpack-internal:///../../node_modules/next/dist/client/index.js:396:11)

node: v18.18
"@keystone-6/auth": "8.0.0"
"@keystone-6/core": "6.1.0"

@dcousens
Copy link
Member Author

dcousens commented Jul 4, 2024

@ARkrOSClou sorry, I misunderstood the report/question and mistakenly moved this to a GitHub discussion. I'm unable to re-open the original issue.

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