Skip to content

Commit

Permalink
fix theme toggling
Browse files Browse the repository at this point in the history
  • Loading branch information
firehawk89 committed Jan 28, 2024
1 parent aeb8630 commit 80db0db
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/components/ui/theme-toggler.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,9 @@ export function ThemeToggler() {
</Button>
</DropdownMenuTrigger>
<DropdownMenuContent align="end">
<DropdownMenuItem onClick={() => setLightTheme}>Light</DropdownMenuItem>
<DropdownMenuItem onClick={() => setDarkTheme}>Dark</DropdownMenuItem>
<DropdownMenuItem onClick={() => setSystemTheme}>
System
</DropdownMenuItem>
<DropdownMenuItem onClick={setLightTheme}>Light</DropdownMenuItem>
<DropdownMenuItem onClick={setDarkTheme}>Dark</DropdownMenuItem>
<DropdownMenuItem onClick={setSystemTheme}>System</DropdownMenuItem>
</DropdownMenuContent>
</DropdownMenu>
)
Expand Down

0 comments on commit 80db0db

Please sign in to comment.