From ecfd4f05bd32c3942580a5b01f021b2acdff4b54 Mon Sep 17 00:00:00 2001
From: "Thomas F. K. Jorna" <thomasfkjorna@gmail.com>
Date: Sun, 18 Jul 2021 00:29:01 +0200
Subject: fixed not being able to save tweaks + formatting

---
 app/components/tweaks/tweaks.tsx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'app/components/tweaks/tweaks.tsx')

diff --git a/app/components/tweaks/tweaks.tsx b/app/components/tweaks/tweaks.tsx
index a67b723..d2b5bd1 100644
--- a/app/components/tweaks/tweaks.tsx
+++ b/app/components/tweaks/tweaks.tsx
@@ -44,7 +44,7 @@ export const Tweaks = observer(function Tweaks(props: TweaksProps): JSX.Element
                     <Text preset="fieldLabel" text="Gravity" />
                     <Switch style={{ width: "5", height: 20, marginVertical: 10 }}
                         value={physics.gravityOn}
-                        onValueChange={() => { setPhysics({ ...physics, gravityOn: !physics.gravityOn })}}
+                        onValueChange={() => { setPhysics({ ...physics, gravityOn: !physics.gravityOn }) }}
                     />
                     <Text preset="fieldLabel" text={"Gravity: " + physics.gravity} />
                     <Slider style={{ height: 40, width: "90%" }}
@@ -116,12 +116,12 @@ export const Tweaks = observer(function Tweaks(props: TweaksProps): JSX.Element
                     <Text preset="fieldLabel" text="Colorful" />
                     <Switch style={{ width: "5", height: 20, marginVertical: 10 }}
                         value={physics.colorful}
-                        onValueChange={() => { setPhysics({ ...physics, colorful: !physics.colorful })}}
+                        onValueChange={() => { setPhysics({ ...physics, colorful: !physics.colorful }) }}
                     />
                     <Text preset="fieldLabel" text="Hover highlight" />
                     <Switch style={{ width: "5", height: 20, marginVertical: 10 }}
                         value={physics.hover}
-                        onValueChange={() => { setPhysics({ ...physics, hover: !physics.hover })}}
+                        onValueChange={() => { setPhysics({ ...physics, hover: !physics.hover }) }}
                     />
                     <Text preset="fieldLabel" text={"Line Opacity: " + physics.linkOpacity} />
                     <Slider style={{ height: 40, width: "90%" }}
-- 
cgit v1.2.3

