Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
benjackwhite committed Dec 18, 2023
1 parent 46a1070 commit fad3ee8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions frontend/src/layout/navigation/TopBar/SitePopover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -239,10 +239,8 @@ function ThemeSwitcher(): JSX.Element {
return (
<>
<span className="flex-1 flex justify-between items-baseline">
<span>Color theme</span>{' '}
<span className="font-normal text-xs">
{leaf?.value ? <>{leaf?.label}</> : 'Sync with system'}
</span>
<span>Color theme</span>
<span className="font-normal text-xs">{leaf ? leaf.label : 'Sync with system'}</span>
</span>
</>
)
Expand Down

0 comments on commit fad3ee8

Please sign in to comment.