diff --git a/src/pages/Settings.tsx b/src/pages/Settings.tsx index a77dee33..523adaa7 100644 --- a/src/pages/Settings.tsx +++ b/src/pages/Settings.tsx @@ -240,37 +240,30 @@ export function SettingsPage() { {t("settings.account.title")} {user.account && state.profile.state ? ( -
- { - state.profile.set((s) => - s ? { ...s, colorA: v } : undefined, - ); - }} - colorB={state.profile.state.colorB} - setColorB={(v) => - state.profile.set((s) => - s ? { ...s, colorB: v } : undefined, - ) - } - userIcon={state.profile.state.icon as any} - setUserIcon={(v) => - state.profile.set((s) => (s ? { ...s, icon: v } : undefined)) - } - /> - -
+ { + state.profile.set((s) => (s ? { ...s, colorA: v } : undefined)); + }} + colorB={state.profile.state.colorB} + setColorB={(v) => + state.profile.set((s) => (s ? { ...s, colorB: v } : undefined)) + } + userIcon={state.profile.state.icon as any} + setUserIcon={(v) => + state.profile.set((s) => (s ? { ...s, icon: v } : undefined)) + } + /> ) : ( -
- - -
+ )} +
+ +