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] storybook with multiple same child elements #3256

Closed
himself65 opened this issue May 28, 2021 · 0 comments
Closed

[Bug] storybook with multiple same child elements #3256

himself65 opened this issue May 28, 2021 · 0 comments
Assignees

Comments

@himself65
Copy link
Member

Bug Info

related issue: storybookjs/storybook#14481

How to reproduce?

  1. cd packages/dashboard
  2. pnpm run storybook

image

vendors~main.manager.bundle.js:84538 Warning: Encountered two children with the same key, `pages-wallet-start-up--start-up`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.
    at div
    at Styled(div)
    at http://localhost:6006/vendors~main.manager.bundle.js:24729:26
    at div
    at Styled(div)
    at http://localhost:6006/vendors~main.manager.bundle.js:24989:51
    at div
    at http://localhost:6006/vendors~main.manager.bundle.js:25247:24
    at div
    at http://localhost:6006/vendors~main.manager.bundle.js:30446:23
    at div
    at Styled(div)
    at Downshift (http://localhost:6006/vendors~main.manager.bundle.js:25860:26)
    at http://localhost:6006/vendors~main.manager.bundle.js:29742:24
    at div
    at Styled(div)
    at Spaced (http://localhost:6006/vendors~main.manager.bundle.js:22685:19)
    at Styled(Spaced)
    at div
    at div
    at div
    at div
    at OverlayScrollbarsComponent (http://localhost:6006/3.manager.bundle.js:69:27)
    at Suspense
    at Scroller (http://localhost:6006/vendors~main.manager.bundle.js:16021:25)
    at Styled(Scroller)
    at nav
    at Styled(nav)
    at http://localhost:6006/vendors~main.manager.bundle.js:30485:29
    at ManagerConsumer (http://localhost:6006/vendors~main.manager.bundle.js:14879:28)
    at div
    at Styled(div)
    at Sidebar (http://localhost:6006/vendors~main.manager.bundle.js:22044:28)
    at Layout (http://localhost:6006/vendors~main.manager.bundle.js:22216:5)
    at WithTheme(Layout)
    at http://localhost:6006/vendors~main.manager.bundle.js:22544:20
    at div
    at Styled(div)
    at http://localhost:6006/vendors~main.manager.bundle.js:34677:23
    at ReferenceWrapper (http://localhost:6006/vendors~main.manager.bundle.js:115369:5)
    at SizeMeRenderer (http://localhost:6006/vendors~main.manager.bundle.js:115422:29)
    at SizeAwareComponent (http://localhost:6006/vendors~main.manager.bundle.js:115499:9)
    at ThemeProvider
    at http://localhost:6006/vendors~main.manager.bundle.js:34842:25
    at ManagerConsumer (http://localhost:6006/vendors~main.manager.bundle.js:14879:28)
    at EffectOnMount (http://localhost:6006/vendors~main.manager.bundle.js:14868:24)
    at ManagerProvider (http://localhost:6006/vendors~main.manager.bundle.js:14729:5)
    at Location (http://localhost:6006/vendors~main.manager.bundle.js:3145:23)
    at QueryLocation (http://localhost:6006/vendors~main.manager.bundle.js:35676:24)
    at LocationProvider (http://localhost:6006/vendors~main.manager.bundle.js:3165:5)
    at r (http://localhost:6006/vendors~main.manager.bundle.js:21490:5365)
    at Root (http://localhost:6006/vendors~main.manager.bundle.js:34824:23)
printWarning @ vendors~main.manager.bundle.js:84538
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants