From cefa26f92147014d720bfac7656d05a7186adf39 Mon Sep 17 00:00:00 2001 From: feb-dain Date: Sun, 22 Oct 2023 15:29:07 +0900 Subject: [PATCH 1/2] =?UTF-8?q?feat:=20=EB=A9=94=EB=89=B4=20=ED=86=A0?= =?UTF-8?q?=EA=B8=80=20=EA=B8=B0=EB=8A=A5=20=EA=B5=AC=ED=98=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [#897] --- .../src/components/ui/Navigator/NavigationBar/Menu.tsx | 8 ++++---- .../ui/Navigator/NavigationBar/hooks/useNavigationBar.ts | 8 +++++--- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/frontend/src/components/ui/Navigator/NavigationBar/Menu.tsx b/frontend/src/components/ui/Navigator/NavigationBar/Menu.tsx index 67a51d628..6b94e0f7d 100644 --- a/frontend/src/components/ui/Navigator/NavigationBar/Menu.tsx +++ b/frontend/src/components/ui/Navigator/NavigationBar/Menu.tsx @@ -29,7 +29,7 @@ import { useNavigationBar } from './hooks/useNavigationBar'; // TODO: 모바일 오류 (미디어 쿼리) 개선 const Menu = () => { - const { openBasePanel } = useNavigationBar(); + const { toggleBasePanel } = useNavigationBar(); const memberToken = useExternalValue(memberTokenStore); const isSignIn = memberToken !== EMPTY_MEMBER_TOKEN; @@ -66,7 +66,7 @@ const Menu = () => { noRadius="all" css={displayNoneInMobile} aria-label="주변 충전소 목록 열기" - onClick={() => openBasePanel()} + onClick={() => toggleBasePanel()} > @@ -77,7 +77,7 @@ const Menu = () => {