fix(shared): Add missing key prop in measurements image component
This commit is contained in:
parent
747f6d040d
commit
3a0176552d
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ export const Tabs = ({ tabs = '', active = 0, children, withModal = false }) =>
|
||||||
|
|
||||||
// Pass down activeTab and tabId for conditional rendering
|
// Pass down activeTab and tabId for conditional rendering
|
||||||
const childrenWithTabSetter = children.map((child, tabId) =>
|
const childrenWithTabSetter = children.map((child, tabId) =>
|
||||||
React.cloneElement(child, { activeTab, tabId })
|
React.cloneElement(child, { activeTab, tabId, key: tabId })
|
||||||
)
|
)
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue