We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fce76d3 commit e81d068Copy full SHA for e81d068
web/src/layout/Header/navbar/Menu/index.tsx
@@ -35,9 +35,9 @@ const Menu: React.FC<ISettings & IHelp> = ({ toggleIsHelpOpen, toggleIsSettingsO
35
36
return (
37
<div className="flex flex-col lg:flex-row">
38
- {buttons.map(({ text, Icon, onClick }) => (
+ {buttons.map(({ text, Icon, onClick }, index) => (
39
<div
40
- key={text}
+ key={index}
41
className="flex items-center min-h-8 [&_.button-text]:block lg:[&_.button-text]:hidden not-dark:not-lg:[&_.button-svg]:fill-black/75 not-dark:not-lg:hover:[&_.button-svg]:fill-black"
42
>
43
<LightButton {...{ text, onClick, Icon }} />
0 commit comments