From 68e23fcc090aaf2a9fe0123af3e62ed009955161 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=82=A8=EC=A0=95=EC=9A=B1?= <113816822+HelloWook@users.noreply.github.com> Date: Sun, 5 Jan 2025 05:01:06 +0900 Subject: [PATCH] =?UTF-8?q?fix=20:=20build=20=EC=97=90=EB=9F=AC=20?= =?UTF-8?q?=EC=88=98=EC=A0=95=20(#468)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Common/TopBar/TopBar.stories.tsx | 3 --- .../CreateMapLetterCotainer.tsx | 4 ---- src/hooks/useNearbyLetters.ts | 2 +- src/pages/Letter/SelectItem/SelectItemPage.tsx | 8 +------- src/pages/Map/Select/MapSelectItemPage.tsx | 10 ---------- 5 files changed, 2 insertions(+), 25 deletions(-) diff --git a/src/components/Common/TopBar/TopBar.stories.tsx b/src/components/Common/TopBar/TopBar.stories.tsx index d50dc95b..c8efa9c2 100644 --- a/src/components/Common/TopBar/TopBar.stories.tsx +++ b/src/components/Common/TopBar/TopBar.stories.tsx @@ -23,9 +23,6 @@ type Story = StoryObj; export const Default: Story = { args: { - handleBackClick: () => { - alert('back'); - }, handleSuccesClick: () => { alert('go'); } diff --git a/src/components/CreateMapLetter/CreateMapLetterCotainer/CreateMapLetterCotainer.tsx b/src/components/CreateMapLetter/CreateMapLetterCotainer/CreateMapLetterCotainer.tsx index 5f9d2d54..7ff39e41 100644 --- a/src/components/CreateMapLetter/CreateMapLetterCotainer/CreateMapLetterCotainer.tsx +++ b/src/components/CreateMapLetter/CreateMapLetterCotainer/CreateMapLetterCotainer.tsx @@ -78,9 +78,6 @@ const CreateMapLetterCotainer = () => { return ( <> { - navigate(-1); - }} handleSuccesClick={async () => { if ( !title.trim() || @@ -137,7 +134,6 @@ const CreateMapLetterCotainer = () => {