There was an error while loading. Please reload this page.
1 parent 917d1e4 commit 1495c4eCopy full SHA for 1495c4e
1 file changed
plugins/git/src/client/components/dashboard.tsx
@@ -106,10 +106,10 @@ function ConnectionBadge() {
106
}
107
108
function ThemeToggle() {
109
- const { theme, toggle } = useTheme()
+ const { toggle } = useTheme()
110
return (
111
<IconButton variant="ghost" size="sm" onClick={toggle} aria-label="Toggle light/dark theme">
112
- <Icon name={theme === 'dark' ? 'i-ph-sun-duotone' : 'i-ph-moon-duotone'} className="size-4" />
+ <Icon name="i-ph-sun-duotone dark:i-ph-moon-duotone" className="size-4" />
113
</IconButton>
114
)
115
0 commit comments