1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-29 16:07:40 +01:00

Damn eslint got hands

This commit is contained in:
Cooper Ransom 2024-04-01 23:59:42 -04:00
parent 43cc92913f
commit 3f32799723

View file

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