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

[EuiPagination] Each child in a list should have a unique "key" prop #8235

Open
weronikaolejniczak opened this issue Dec 13, 2024 · 0 comments · May be fixed by #8243
Open

[EuiPagination] Each child in a list should have a unique "key" prop #8235

weronikaolejniczak opened this issue Dec 13, 2024 · 0 comments · May be fixed by #8243
Assignees
Labels
bug low hanging fruit An issue, often a bug, that is lower effort and clearly ought to be fixed

Comments

@weronikaolejniczak
Copy link
Contributor

The purpose of this task is to investigate and fix a console warning in EuiPagination. The issue is reproducible in Kibana for document flyout in Discover.

Image


Stack trace:

Warning: Each child in a list should have a unique "key" prop
hook.js:608 Warning: Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information. Error Component Stack
  at EuiI18n (<anonymous>)
  at div (<anonymous>)
  at nav (<anonymous>)
  at div (<anonymous>)
  at div (<anonymous>)
  at div (<anonymous>)
  at div (<anonymous>)
  at div (<anonymous>)
  at UnifiedDocViewerFlyout (doc_viewer_flyout.tsx:41:1)
  at Suspense (<anonymous>)
  at with_suspense.tsx:26:1
  at DiscoverGridFlyout (discover_grid_flyout.tsx:25:1)
  at Suspense (<anonymous>)
  at with_suspense.tsx:26:1
  at span (<anonymous>)
  at UnifiedDataTable (data_table.tsx:62:1)
  at DiscoverGrid (discover_grid.tsx:20:1)
  at CellActionsProvider (cell_actions_context.tsx:15:1)
  at div (<anonymous>)
  at div (<anonymous>)
  at DiscoverDocumentsComponent (discover_documents.tsx:73:1)
  at div (<anonymous>)
  at div (<anonymous>)
  at DropOverlayWrapper (drop_overlay_wrapper.tsx:28:1)
  at SingleDropInner (droppable.tsx:241:1)
  at div (<anonymous>)
  at DroppableImpl (droppable.tsx:56:1)
  at Droppable (droppable.tsx:34:1)
  at DiscoverMainContent (discover_main_content.tsx:39:1)
  at UnifiedHistogramLayout (layout.tsx:26:1)
  at container.tsx:35:1
  at Suspense (<anonymous>)
  at with_suspense.tsx:26:1
  at DiscoverHistogramLayout (discover_histogram_layout.tsx:33:1)
  at div (<anonymous>)
  at div (<anonymous>)
  at DiscoverResizableLayout (discover_resizable_layout.tsx:19:1)
  at div (<anonymous>)
  at div (<anonymous>)
  at div (<anonymous>)
  at DiscoverLayout (discover_layout.tsx:60:1)
  at ChildDragDropProvider (providers.tsx:211:1)
  at RootDragDropProvider (providers.tsx:138:1)
  at DiscoverMainApp (discover_main_app.tsx:26:1)
  at BaseAppWrapper (use_root_profile.tsx:49:1)
  at DiscoverMainProvider (discover_state_provider.tsx:44:1)
  at DiscoverMainRoute (discover_main_route.tsx:36:1)
  at Route (route.tsx:26:1)
  at Routes (routes.tsx:18:1)
  at DiscoverRoutes (discover_router.tsx:49:1)
  at Router (router.tsx:29:1)
  at Provider (context.tsx:43:1)
  at DiscoverRouter (discover_router.tsx:24:1)
  at I18nContext (i18n_service.tsx:36:1)
  at KibanaEuiProvider (eui_provider.tsx:56:1)
  at KibanaRootContextProvider (root_provider.tsx:34:1)
  at KibanaRenderContextProvider (render_provider.tsx:22:1)

More context: elastic/kibana#202287 (comment)

@weronikaolejniczak weronikaolejniczak added bug low hanging fruit An issue, often a bug, that is lower effort and clearly ought to be fixed labels Dec 13, 2024
@acstll acstll self-assigned this Dec 13, 2024
@acstll acstll linked a pull request Dec 16, 2024 that will close this issue
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug low hanging fruit An issue, often a bug, that is lower effort and clearly ought to be fixed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants