Skip to content

Commit

Permalink
add key
Browse files Browse the repository at this point in the history
  • Loading branch information
christinaroise committed Sep 24, 2024
1 parent 4c5e3ae commit 872c329
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions studio/components/LanguageSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,8 @@ const LanguageSelector = ({ value = [], onChange }: LanguageSelectorProps) => {
: colorMap[themeType].default;

return (
<label htmlFor={lang.id}>
<label htmlFor={lang.id} key={lang.id}>
<Card
key={lang.id}
padding={4}
radius={2}
shadow={1}
Expand Down Expand Up @@ -114,7 +113,7 @@ const LanguageSelector = ({ value = [], onChange }: LanguageSelectorProps) => {
</label>
);
}),
[value, currentDefaultLanguage, themeType],
[value, currentDefaultLanguage, themeType]
);

return (
Expand Down

0 comments on commit 872c329

Please sign in to comment.