Skip to content

Commit

Permalink
hotfix2
Browse files Browse the repository at this point in the history
  • Loading branch information
tulza committed Oct 7, 2024
1 parent 967ae93 commit 50b4cec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/common/ui/game/ThemeSelectDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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"
>
<div className="mx-4 min-w-5">
{name.toLowerCase() == currentLang.toLowerCase() ? (
{name.toLowerCase() == (currentLang?.toLowerCase() ?? 'default') ? (
<Check size={20} />
) : null}
</div>
Expand Down

0 comments on commit 50b4cec

Please sign in to comment.