From 9b9d28e267f88d1fe491fb781fa6893d21cde540 Mon Sep 17 00:00:00 2001 From: "Thomas F. K. Jorna" 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 - } - onClick={() => setShowTweaks(true)} - /> - + return ( + + } + onClick={() => setShowTweaks(true)} + /> + + ) } return ( @@ -98,7 +100,7 @@ export const Tweaks = (props: TweakProps) => { - Kill orphans + Orphans { -- cgit v1.2.3