diff --git a/src/pages/Settings.tsx b/src/pages/Settings.tsx index c56754d7..08e09b6a 100644 --- a/src/pages/Settings.tsx +++ b/src/pages/Settings.tsx @@ -240,28 +240,33 @@ 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)) + } + /> + +
) : ( - +
+ + +
)} -