From 9a0c0fb04ac47f1548b7c0815c8613679749a9bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ademir=20Jos=C3=A9=20Ferreira=20J=C3=BAnior?= Date: Sun, 13 Aug 2023 16:29:12 -0300 Subject: [PATCH] fix: "stop slideshow" correctly navigates to home --- app/_components/Header.tsx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/app/_components/Header.tsx b/app/_components/Header.tsx index 5e1b213..b71c16a 100644 --- a/app/_components/Header.tsx +++ b/app/_components/Header.tsx @@ -8,12 +8,9 @@ export default function Header({ action }: { action: 'start' | 'stop' }) { return (
- + {canStop ? 'Stop' : 'Start'} slideshow - +
); }