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

[Bug]: v8 - Warning: Each child in a list should have a unique "key" prop #26433

Closed
vgermes opened this issue Mar 12, 2024 · 0 comments · Fixed by #26471
Closed

[Bug]: v8 - Warning: Each child in a list should have a unique "key" prop #26433

vgermes opened this issue Mar 12, 2024 · 0 comments · Fixed by #26471

Comments

@vgermes
Copy link

vgermes commented Mar 12, 2024

Describe the bug

A warning appears if I start searching for a component

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

Check the top-level render call using <span>. See https://reactjs.org/link/warning-keys for more information.
    at span
    at http://localhost:6006/sb-manager/chunk-AQBE2B7B.js:170:122311
    at div
    at http://localhost:6006/sb-manager/chunk-3F3RRPB3.js:299:2908
    at div
    at http://localhost:6006/sb-manager/chunk-3F3RRPB3.js:299:2908
    at li
    at http://localhost:6006/sb-manager/chunk-3F3RRPB3.js:299:2908
    at http://localhost:6006/sb-manager/chunk-AQBE2B7B.js:170:123446
    at ol
    at http://localhost:6006/sb-manager/chunk-3F3RRPB3.js:299:2908
    at http://localhost:6006/sb-manager/chunk-AQBE2B7B.js:170:125243
    at div
    at http://localhost:6006/sb-manager/chunk-AQBE2B7B.js:170:129573
    at div
    at http://localhost:6006/sb-manager/chunk-3F3RRPB3.js:299:2908
    at Downshift2 (http://localhost:6006/sb-manager/chunk-AQBE2B7B.js:170:41818)
    at http://localhost:6006/sb-manager/chunk-AQBE2B7B.js:170:115717
    at div
    at http://localhost:6006/sb-manager/chunk-3F3RRPB3.js:299:2908
    at Spaced (http://localhost:6006/sb-manager/chunk-Q3RBXCN3.js:188:32978)
    at http://localhost:6006/sb-manager/chunk-3F3RRPB3.js:299:2908
    at div
    at div
    at http://localhost:6006/sb-manager/chunk-62YMTM65.js:6:7437
    at http://localhost:6006/sb-manager/chunk-62YMTM65.js:6:16775
    at http://localhost:6006/sb-manager/chunk-3F3RRPB3.js:299:2908
    at div
    at http://localhost:6006/sb-manager/chunk-62YMTM65.js:6:7437
    at Provider (http://localhost:6006/sb-manager/chunk-62YMTM65.js:6:11628)
    at http://localhost:6006/sb-manager/chunk-62YMTM65.js:6:15027
    at http://localhost:6006/sb-manager/chunk-3F3RRPB3.js:299:2908
    at ScrollArea (http://localhost:6006/sb-manager/chunk-62YMTM65.js:6:41399)
    at nav
    at http://localhost:6006/sb-manager/chunk-3F3RRPB3.js:299:2908
    at http://localhost:6006/sb-manager/chunk-AQBE2B7B.js:170:130328
    at ManagerConsumer (http://localhost:6006/sb-manager/chunk-Q3RBXCN3.js:35:37578)
    at http://localhost:6006/sb-manager/chunk-AQBE2B7B.js:177:5827
    at div
    at http://localhost:6006/sb-manager/chunk-3F3RRPB3.js:299:2908
    at div
    at http://localhost:6006/sb-manager/chunk-3F3RRPB3.js:299:2908
    at Layout (http://localhost:6006/sb-manager/chunk-AQBE2B7B.js:177:58863)
    at App (http://localhost:6006/sb-manager/chunk-AQBE2B7B.js:180:1542)
    at LayoutProvider (http://localhost:6006/sb-manager/chunk-AQBE2B7B.js:163:11190)
    at ThemeProvider (http://localhost:6006/sb-manager/chunk-3F3RRPB3.js:299:3779)
    at http://localhost:6006/sb-manager/chunk-AQBE2B7B.js:183:12771
    at ManagerConsumer (http://localhost:6006/sb-manager/chunk-Q3RBXCN3.js:35:37578)
    at EffectOnMount (http://localhost:6006/sb-manager/chunk-Q3RBXCN3.js:35:37458)
    at ManagerProvider (http://localhost:6006/sb-manager/chunk-Q3RBXCN3.js:35:35619)
    at Location (http://localhost:6006/sb-manager/chunk-Q3RBXCN3.js:13:16387)
    at Main (http://localhost:6006/sb-manager/chunk-AQBE2B7B.js:183:12486)
    at Router (http://localhost:6006/sb-manager/chunk-Q3RBXCN3.js:13:7100)
    at LocationProvider (http://localhost:6006/sb-manager/chunk-Q3RBXCN3.js:13:17225)
    at r3 (http://localhost:6006/sb-manager/chunk-AQBE2B7B.js:15:17151)
    at Root3 (http://localhost:6006/sb-manager/chunk-AQBE2B7B.js:183:12268)

To Reproduce

You need to write the name of the component in the text field
image

System

System:
    OS: Windows 10 10.0.19045
    CPU: (28) x64 Intel(R) Core(TM) i7-14700K
  Binaries:
    Node: 20.11.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 4.0.2 - C:\Program Files\nodejs\yarn.CMD <----- active
    npm: 10.2.4 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Chromium (122.0.2365.80)
  npmPackages:
    @storybook/addon-controls: ^8.0.0 => 8.0.0
    @storybook/react-webpack5: ^8.0.0 => 8.0.0
    storybook: ^8.0.0 => 8.0.0

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

4 participants