diff --git a/src/app/features/settings/account/NameColorEditor.tsx b/src/app/features/settings/account/NameColorEditor.tsx index df7ce7de..d5b5e8b5 100644 --- a/src/app/features/settings/account/NameColorEditor.tsx +++ b/src/app/features/settings/account/NameColorEditor.tsx @@ -5,11 +5,13 @@ import { SettingTile } from '$components/setting-tile'; import { HexColorPickerPopOut } from '$components/HexColorPickerPopOut'; type NameColorEditorProps = { + title: string; + description?: string; current?: string; onSave: (color: string | null) => void; }; -export function NameColorEditor({ current, onSave }: NameColorEditorProps) { +export function NameColorEditor({ title, description, current, onSave }: NameColorEditorProps) { const stripQuotes = (str?: string) => { if (!str) return ''; // to solve the silly tuwunel @@ -48,10 +50,7 @@ export function NameColorEditor({ current, onSave }: NameColorEditorProps) { return ( - + handleSaveField('moe.sable.app.name_color', color)} />