From 9b9d28e267f88d1fe491fb781fa6893d21cde540 Mon Sep 17 00:00:00 2001
From: "Thomas F. K. Jorna" <thomasfkjorna@gmail.com>
Date: Sun, 25 Jul 2021 14:04:59 +0200
Subject: make toggle work with filenods

---
 components/tweaks.tsx | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

(limited to 'components/tweaks.tsx')

diff --git a/components/tweaks.tsx b/components/tweaks.tsx
index ab5a6a7..d337b59 100644
--- a/components/tweaks.tsx
+++ b/components/tweaks.tsx
@@ -43,13 +43,15 @@ export const Tweaks = (props: TweakProps) => {
   const [showTweaks, setShowTweaks] = useState(true)
 
   if (!showTweaks) {
-    return <Box position="absolute" zIndex="overlay" marginTop="2%" marginLeft="2%">
-      <IconButton
-        aria-label="Settings"
-        icon={<SettingsIcon />}
-        onClick={() => setShowTweaks(true)}
-      />
-    </Box>
+    return (
+      <Box position="absolute" zIndex="overlay" marginTop="2%" marginLeft="2%">
+        <IconButton
+          aria-label="Settings"
+          icon={<SettingsIcon />}
+          onClick={() => setShowTweaks(true)}
+        />
+      </Box>
+    )
   }
 
   return (
@@ -98,7 +100,7 @@ export const Tweaks = (props: TweakProps) => {
             </AccordionButton>
             <AccordionPanel>
               <Flex justifyContent="space-between">
-                <Text>Kill orphans</Text>
+                <Text>Orphans</Text>
                 <Switch
                   colorScheme="purple"
                   onChange={() => {
-- 
cgit v1.2.3

