diff --git a/src/components/Editor/Forms.tsx b/src/components/Editor/Forms.tsx index a033e88..3cba76b 100644 --- a/src/components/Editor/Forms.tsx +++ b/src/components/Editor/Forms.tsx @@ -144,7 +144,7 @@ function ThemeForm() { const [form,setFormState] = useFormState()!; const [themes] = useState(THEMES); const [backgroundOptions] = useState(() => BACKGROUNDS.map(background => ({ - name: background, + label: background.charAt(0).toUpperCase() + background.slice(1), value: background }))); @@ -157,10 +157,15 @@ function ThemeForm() { } })); } + return ( <> -
{themes.map((theme, idx) => (