Task attempt 6e204469-447f-4543-a0fd-1cd71cc49ee2 - Final changes
This commit is contained in:
@@ -144,9 +144,10 @@ export function Settings() {
|
||||
<Label htmlFor="theme">Theme</Label>
|
||||
<Select
|
||||
value={config.theme}
|
||||
onValueChange={(value: ThemeMode) =>
|
||||
updateConfig({ theme: value })
|
||||
}
|
||||
onValueChange={(value: ThemeMode) => {
|
||||
updateConfig({ theme: value });
|
||||
setTheme(value);
|
||||
}}
|
||||
>
|
||||
<SelectTrigger id="theme">
|
||||
<SelectValue placeholder="Select theme" />
|
||||
|
||||
Reference in New Issue
Block a user