summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorThomas F. K. Jorna <[email protected]>2021-07-25 14:04:59 +0200
committerThomas F. K. Jorna <[email protected]>2021-07-25 14:04:59 +0200
commit9b9d28e267f88d1fe491fb781fa6893d21cde540 (patch)
treeaac22c1a4074a614fbfbfc6828e1784ba1d6dc80 /components
parent24799ec72c39183c7aa156994077e0d5370388e0 (diff)
make toggle work with filenods
Diffstat (limited to 'components')
-rw-r--r--components/tweaks.tsx18
1 files changed, 10 insertions, 8 deletions
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={() => {