Logic
This commit is contained in:
@@ -123,7 +123,7 @@ function ThemesSettings({ theme }: any) {
|
|||||||
labelPosition='left'
|
labelPosition='left'
|
||||||
checked={currentTheme === 'random'}
|
checked={currentTheme === 'random'}
|
||||||
onChange={(e) => {
|
onChange={(e) => {
|
||||||
setValue(e.target.checked ? 'random' : 'blackboard');
|
setValue(e.target.checked ? 'random' : theme.name);
|
||||||
}}
|
}}
|
||||||
color={theme.primaryColor}
|
color={theme.primaryColor}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user