From ce1ada9b99c3c83899e0cd683e1bacae846910e9 Mon Sep 17 00:00:00 2001 From: Juraj Uhlar Date: Mon, 15 Jul 2024 15:07:35 +0100 Subject: [PATCH] fix: no reset button on Playground (#149) --- .../common/MobileNavbar/MobileNavbar.tsx | 36 ++++++++++--------- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/src/client/components/common/MobileNavbar/MobileNavbar.tsx b/src/client/components/common/MobileNavbar/MobileNavbar.tsx index f040b430..9508c074 100644 --- a/src/client/components/common/MobileNavbar/MobileNavbar.tsx +++ b/src/client/components/common/MobileNavbar/MobileNavbar.tsx @@ -14,27 +14,29 @@ interface MobileNavbarProps { closeMobileMenu: () => void; } export default function MobileNavbar({ darkMode, closeMobileMenu }: MobileNavbarProps) { - const { mutate, isLoading: isResetLoading } = useReset({}); + const { mutate, isLoading: isResetLoading, shouldDisplayResetButton } = useReset({}); return (