diff --git a/src/views/settings/Settings.tsx b/src/views/settings/Settings.tsx index 9c475c3..5b8d1da 100644 --- a/src/views/settings/Settings.tsx +++ b/src/views/settings/Settings.tsx @@ -58,7 +58,7 @@ const Settings = () => { } value={settings?.longPressOnDesktop ?? false} onChange={async (value) => { - updateSettings.mutateAsync({ longPressOnDesktop: value }); + await updateSettings.mutateAsync({ longPressOnDesktop: value }); refetch(); }} /> @@ -67,7 +67,7 @@ const Settings = () => { description={<>Show an animation when a tile is revealed.} value={settings?.showRevealAnimation ?? true} onChange={async (value) => { - updateSettings.mutateAsync({ showRevealAnimation: value }); + await updateSettings.mutateAsync({ showRevealAnimation: value }); refetch(); }} />