From 1182f93d022bc7496a29e6d935c911b0a04ddd61 Mon Sep 17 00:00:00 2001 From: Eric Olkowski Date: Wed, 20 Apr 2022 12:15:50 -0400 Subject: [PATCH] fix(Tabs): update key to not use index --- packages/react-core/src/components/Tabs/Tabs.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react-core/src/components/Tabs/Tabs.tsx b/packages/react-core/src/components/Tabs/Tabs.tsx index 26360d68dee..3a57d4fb9cd 100644 --- a/packages/react-core/src/components/Tabs/Tabs.tsx +++ b/packages/react-core/src/components/Tabs/Tabs.tsx @@ -425,9 +425,9 @@ export class Tabs extends React.Component { !(unmountOnExit && child.props.eventKey !== localActiveKey) && !(mountOnEnter && shownKeys.indexOf(child.props.eventKey) === -1) ) - .map((child, index) => ( + .map(child => (