|
|
@@ -440,11 +440,6 @@ export const SettingsGeneral: Component = () => {
|
|
|
value={(o) => o.value}
|
|
|
label={(o) => o.label}
|
|
|
onSelect={(option) => option && theme.setColorScheme(option.value)}
|
|
|
- onHighlight={(option) => {
|
|
|
- if (!option) return
|
|
|
- theme.previewColorScheme(option.value)
|
|
|
- return () => theme.cancelPreview()
|
|
|
- }}
|
|
|
variant="secondary"
|
|
|
size="small"
|
|
|
triggerVariant="settings"
|
|
|
@@ -471,11 +466,6 @@ export const SettingsGeneral: Component = () => {
|
|
|
if (!option) return
|
|
|
theme.setTheme(option.id)
|
|
|
}}
|
|
|
- onHighlight={(option) => {
|
|
|
- if (!option) return
|
|
|
- theme.previewTheme(option.id)
|
|
|
- return () => theme.cancelPreview()
|
|
|
- }}
|
|
|
variant="secondary"
|
|
|
size="small"
|
|
|
triggerVariant="settings"
|