Skip to content

Commit

Permalink
fix(react-components): fix toolbar tippy console error (#4660)
Browse files Browse the repository at this point in the history
  • Loading branch information
haakonflatval-cognite authored Jul 10, 2024
1 parent 6ae3d7b commit eed7f89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export const CommandButton = ({

return (
<CogsTooltip
content={<LabelWithShortcut label={tooltip} shortcut={shortcut} />}
content={<LabelWithShortcut key={tooltip} label={tooltip} shortcut={shortcut} />}
appendTo={document.body}
placement={placement}>
<Button
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export const OptionButton = ({

return (
<CogsTooltip
content={<LabelWithShortcut label={tooltip} shortcut={shortcut} />}
content={<LabelWithShortcut key={tooltip} label={tooltip} shortcut={shortcut} />}
appendTo={document.body}
placement={placement}>
<Dropdown
Expand Down

0 comments on commit eed7f89

Please sign in to comment.