diff --git a/apps/docs/src/components/ThemeChanger.tsx b/apps/docs/src/components/ThemeChanger.tsx index 95ad3d1..6df3524 100644 --- a/apps/docs/src/components/ThemeChanger.tsx +++ b/apps/docs/src/components/ThemeChanger.tsx @@ -197,24 +197,24 @@ export const ThemeChanger = () => { title="dark" data-value="dark" className="rounded-l-full" - selected={selectedColorMode == 'dark'} - onClick={() => handleChangeColorMode('dark')} icon={dark_mode} + selected={selectedColorMode == 'dark'} + onPress={() => handleChangeColorMode('dark')} /> handleChangeColorMode('system')} icon={brightness_medium} + selected={selectedColorMode == 'system'} + onPress={() => handleChangeColorMode('system')} /> handleChangeColorMode('light')} icon={light_mode} + selected={selectedColorMode == 'light'} + onPress={() => handleChangeColorMode('light')} />