Task attempt 6e204469-447f-4543-a0fd-1cd71cc49ee2 - Final changes

This commit is contained in:
Louis Knight-Webb
2025-06-27 21:44:00 +01:00
parent 1329bd91cb
commit e18a9a04b2
2 changed files with 114 additions and 3 deletions

View File

@@ -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" />