From 4ee65165edb97023ec8603fd32b5a3f12ec5d4f9 Mon Sep 17 00:00:00 2001 From: andresin87 Date: Tue, 20 Oct 2026 12:03:48 +0200 Subject: [PATCH] fix(components/molecule/tabs): add unique key to child elements in tab mapping --- components/molecule/tabs/src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/molecule/tabs/src/index.js b/components/molecule/tabs/src/index.js index de18e36da..7cda5acf7 100644 --- a/components/molecule/tabs/src/index.js +++ b/components/molecule/tabs/src/index.js @@ -33,7 +33,7 @@ const MoleculeTabsWithStateActive = ({ > {Children.toArray(children) .filter(Boolean) - .map((child, index) => cloneElement(child, {active: activeTab === index + 1}))} + .map((child, index) => cloneElement(child, {active: activeTab === index + 1, key: index}))} ) }