Fix missing key on ThemeChanger map

This commit is contained in:
blessedcoolant 2022-11-19 22:07:59 +13:00
parent dfc0c587b1
commit 917c576ddb

View File

@ -43,6 +43,7 @@ export default function ThemeChanger() {
leftIcon={currentTheme === theme ? <FaCheck /> : undefined}
size={'sm'}
onClick={() => handleChangeTheme(theme)}
key={theme}
>
{theme.charAt(0).toUpperCase() + theme.slice(1)}
</IAIButton>