File tree Expand file tree Collapse file tree
packages/app/src/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -440,11 +440,6 @@ export const SettingsGeneral: Component = () => {
440440 value = { ( o ) => o . value }
441441 label = { ( o ) => o . label }
442442 onSelect = { ( option ) => option && theme . setColorScheme ( option . value ) }
443- onHighlight = { ( option ) => {
444- if ( ! option ) return
445- theme . previewColorScheme ( option . value )
446- return ( ) => theme . cancelPreview ( )
447- } }
448443 variant = "secondary"
449444 size = "small"
450445 triggerVariant = "settings"
@@ -471,11 +466,6 @@ export const SettingsGeneral: Component = () => {
471466 if ( ! option ) return
472467 theme . setTheme ( option . id )
473468 } }
474- onHighlight = { ( option ) => {
475- if ( ! option ) return
476- theme . previewTheme ( option . id )
477- return ( ) => theme . cancelPreview ( )
478- } }
479469 variant = "secondary"
480470 size = "small"
481471 triggerVariant = "settings"
Original file line number Diff line number Diff line change @@ -422,11 +422,6 @@ export const SettingsGeneralV2: Component<{
422422 value = { ( o ) => o . value }
423423 label = { ( o ) => o . label }
424424 onSelect = { ( option ) => option && theme . setColorScheme ( option . value ) }
425- onHighlight = { ( option ) => {
426- if ( ! option ) return
427- theme . previewColorScheme ( option . value )
428- return ( ) => theme . cancelPreview ( )
429- } }
430425 />
431426 </ SettingsRowV2 >
432427
@@ -454,11 +449,6 @@ export const SettingsGeneralV2: Component<{
454449 if ( ! option ) return
455450 theme . setTheme ( option . id )
456451 } }
457- onHighlight = { ( option ) => {
458- if ( ! option ) return
459- theme . previewTheme ( option . id )
460- return ( ) => theme . cancelPreview ( )
461- } }
462452 />
463453 </ SettingsRowV2 >
464454
You can’t perform that action at this time.
0 commit comments