From 9e764b61f67695c35be3164e7191608de41d1391 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladan=20Tomi=C4=87?= Date: Fri, 20 Oct 2023 16:15:08 +0200 Subject: [PATCH] fix: searchbar appearing (#549) --- .../MainNavigationBar/MainNavigationBar.tsx | 15 ++++++++++++++- src/pages/drive/index.tsx | 3 +++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/src/components/NavigationBars/MainNavigationBar/MainNavigationBar.tsx b/src/components/NavigationBars/MainNavigationBar/MainNavigationBar.tsx index 6242c184..0678c37c 100644 --- a/src/components/NavigationBars/MainNavigationBar/MainNavigationBar.tsx +++ b/src/components/NavigationBars/MainNavigationBar/MainNavigationBar.tsx @@ -14,6 +14,8 @@ import { useDialogs } from '@context/DialogsContext'; import NavigationMenuLight from '@media/UI/drive-view-list-light.svg'; import NavigationMenuDark from '@media/UI/drive-view-list-dark.svg'; import ThemeContext from '@context/ThemeContext'; +import PodContext from '@context/PodContext'; +import { Transition } from '@headlessui/react'; // import ActivityDropdown from './ActivityDropdown/ActivityDropdown'; @@ -23,6 +25,7 @@ const MainNavigationBar: FC> = () => { const { wallet } = useFdpStorage(); const { metamaskMigrationNotification } = useContext(UserContext); const { setMobileNavigationOpen } = useDialogs(); + const { activePod } = useContext(PodContext); return (