mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-20 14:37:43 +01:00
Damn eslint got hands
This commit is contained in:
parent
43cc92913f
commit
3f32799723
1 changed files with 6 additions and 2 deletions
|
@ -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) =>
|
||||||
|
|
Loading…
Reference in a new issue