Damn eslint got hands

This commit is contained in:
Cooper Ransom 2024-04-01 23:59:42 -04:00
parent 43cc92913f
commit 3f32799723
1 changed files with 6 additions and 2 deletions

View File

@ -247,11 +247,15 @@ export function SettingsPage() {
setDeviceName={state.deviceName.set}
colorA={state.profile.state.colorA}
setColorA={(v) => {
state.profile.set((s) => (s ? { ...s, colorA: 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))
state.profile.set((s) =>
s ? { ...s, colorB: v } : undefined,
)
}
userIcon={state.profile.state.icon as any}
setUserIcon={(v) =>