diff --git a/src/components/common/ui/game/ThemeSelectDialog.tsx b/src/components/common/ui/game/ThemeSelectDialog.tsx index 568452b..cfbc0ef 100644 --- a/src/components/common/ui/game/ThemeSelectDialog.tsx +++ b/src/components/common/ui/game/ThemeSelectDialog.tsx @@ -39,7 +39,7 @@ const ThemeItem = ({ name, currentLang, onClick }: ThemeItemProps) => { className="flex w-full cursor-pointer select-none items-center py-2 hover:bg-foreground hover:text-background" >
- {name.toLowerCase() == currentLang.toLowerCase() ? ( + {name.toLowerCase() == (currentLang?.toLowerCase() ?? 'default') ? ( ) : null}