From 3f32799723d439a26ab1b6e8625cfc5c59a25ead Mon Sep 17 00:00:00 2001 From: Cooper Ransom Date: Mon, 1 Apr 2024 23:59:42 -0400 Subject: [PATCH] Damn eslint got hands --- src/pages/Settings.tsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/pages/Settings.tsx b/src/pages/Settings.tsx index 08e09b6a..a77dee33 100644 --- a/src/pages/Settings.tsx +++ b/src/pages/Settings.tsx @@ -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) =>