From 68120123f4ffd4de5bcb29ce6e8a014f17a6d042 Mon Sep 17 00:00:00 2001 From: hwanheejung Date: Tue, 27 Aug 2024 15:02:02 +0900 Subject: [PATCH] =?UTF-8?q?#100=20fix:=20share=20=EC=BB=B4=ED=8F=AC?= =?UTF-8?q?=EB=84=8C=ED=8A=B8=20=ED=95=98=EB=82=98=EB=A1=9C=20=EB=AC=B6?= =?UTF-8?q?=EA=B8=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../[boardId]/_components/{ShareBtn.tsx => Share/index.tsx} | 6 +++--- src/app/(board)/board/[boardId]/page.tsx | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) rename src/app/(board)/board/[boardId]/_components/{ShareBtn.tsx => Share/index.tsx} (95%) diff --git a/src/app/(board)/board/[boardId]/_components/ShareBtn.tsx b/src/app/(board)/board/[boardId]/_components/Share/index.tsx similarity index 95% rename from src/app/(board)/board/[boardId]/_components/ShareBtn.tsx rename to src/app/(board)/board/[boardId]/_components/Share/index.tsx index f272470..c136565 100644 --- a/src/app/(board)/board/[boardId]/_components/ShareBtn.tsx +++ b/src/app/(board)/board/[boardId]/_components/Share/index.tsx @@ -10,9 +10,9 @@ import KakaoIcon from 'public/icons/sns/sns-kakao.svg' import IGIcon from 'public/icons/sns/sns-ig.svg' import XIcon from 'public/icons/sns/sns-x.svg' import FacebookIcon from 'public/icons/sns/sns-facebook.svg' -import Section from './Share/Section' -import { useTutorial } from './Tutorial/TutorialContext' -import useSnsShare from '../_hooks/useSnsShare' +import Section from './Section' +import { useTutorial } from '../Tutorial/TutorialContext' +import useSnsShare from '../../_hooks/useSnsShare' const ShareBtn = () => { const [showShareModal, setShowShareModal] = useState(false) diff --git a/src/app/(board)/board/[boardId]/page.tsx b/src/app/(board)/board/[boardId]/page.tsx index 4360153..ca96e97 100644 --- a/src/app/(board)/board/[boardId]/page.tsx +++ b/src/app/(board)/board/[boardId]/page.tsx @@ -9,7 +9,7 @@ import CreatePolaroid from './_components/CreatePolaroidModal' import { ModalProvider } from './_components/CreatePolaroidModal/ModalContext' import Empty from './_components/Empty' import OpenModalBtn from './_components/OpenModalBtn' -import ShareBtn from './_components/ShareBtn' +import ShareBtn from './_components/Share' import Tutorial from './_components/Tutorial' import { Step1Tooltip } from './_components/Tutorial/Tooltips' import { TutorialProvider } from './_components/Tutorial/TutorialContext'