mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Fix missing key on ThemeChanger map
This commit is contained in:
parent
dfc0c587b1
commit
917c576ddb
@ -43,6 +43,7 @@ export default function ThemeChanger() {
|
|||||||
leftIcon={currentTheme === theme ? <FaCheck /> : undefined}
|
leftIcon={currentTheme === theme ? <FaCheck /> : undefined}
|
||||||
size={'sm'}
|
size={'sm'}
|
||||||
onClick={() => handleChangeTheme(theme)}
|
onClick={() => handleChangeTheme(theme)}
|
||||||
|
key={theme}
|
||||||
>
|
>
|
||||||
{theme.charAt(0).toUpperCase() + theme.slice(1)}
|
{theme.charAt(0).toUpperCase() + theme.slice(1)}
|
||||||
</IAIButton>
|
</IAIButton>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user