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