From 4aa7ba38b0aad4f18a3cfb0c2c097c2f7720436f Mon Sep 17 00:00:00 2001 From: nalsae <nalsae0207@naver.com> Date: Tue, 26 Dec 2023 19:14:47 +0900 Subject: [PATCH] =?UTF-8?q?[FE]=20=F0=9F=90=9B=20Fix=20:=20=EB=B0=B0?= =?UTF-8?q?=ED=8F=AC=20=EC=9D=B4=EC=8A=88=20=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/components/common/index.ts | 2 -- client/src/components/history/HistoryBoard.tsx | 6 ++++-- client/src/components/history/HistoryComment.tsx | 6 ++++-- client/src/components/history/HistoryLikes.tsx | 6 ++++-- 4 files changed, 12 insertions(+), 8 deletions(-) diff --git a/client/src/components/common/index.ts b/client/src/components/common/index.ts index b2524a1f..92778aae 100644 --- a/client/src/components/common/index.ts +++ b/client/src/components/common/index.ts @@ -26,7 +26,6 @@ import PostCountInfo from './PostCountInfo'; import Preview from './Preview'; import ReactQueryProvider from './ReactQueryProvider'; import Screws from './Screws'; -import SeoHead from './SeoHead'; import ShareButton from './ShareButton'; import ShareModal from './ShareModal'; import TagInput from './TagInput'; @@ -63,7 +62,6 @@ export { Preview, ReactQueryProvider, Screws, - SeoHead, ShareButton, ShareModal, TagInput, diff --git a/client/src/components/history/HistoryBoard.tsx b/client/src/components/history/HistoryBoard.tsx index c6064c8f..cad1a8ac 100644 --- a/client/src/components/history/HistoryBoard.tsx +++ b/client/src/components/history/HistoryBoard.tsx @@ -9,9 +9,11 @@ import { HistoryPostCard } from '.'; import { EmptyDiary } from '../leaf'; import { ErrorMessage, LoadingMessage } from '../common'; -import { HistoryBoradProps } from '@/types/common'; +export interface HistoryBoardProps { + paramsId: string; +} -export default function HistoryBoard({ paramsId }: HistoryBoradProps) { +export default function HistoryBoard({ paramsId }: HistoryBoardProps) { const router = useRouter(); const { diff --git a/client/src/components/history/HistoryComment.tsx b/client/src/components/history/HistoryComment.tsx index e991a885..2e484ed6 100644 --- a/client/src/components/history/HistoryComment.tsx +++ b/client/src/components/history/HistoryComment.tsx @@ -9,9 +9,11 @@ import { HistoryPostCard } from '.'; import { EmptyDiary } from '../leaf'; import { ErrorMessage, LoadingMessage } from '../common'; -import { HistoryBoradProps } from '@/types/common'; +export interface HistoryBoardProps { + paramsId: string; +} -export default function HistoryComment({ paramsId }: HistoryBoradProps) { +export default function HistoryComment({ paramsId }: HistoryBoardProps) { const router = useRouter(); const { diff --git a/client/src/components/history/HistoryLikes.tsx b/client/src/components/history/HistoryLikes.tsx index 8ea63f37..3ac470d7 100644 --- a/client/src/components/history/HistoryLikes.tsx +++ b/client/src/components/history/HistoryLikes.tsx @@ -9,9 +9,11 @@ import { HistoryPostCard } from '.'; import { EmptyDiary } from '../leaf'; import { ErrorMessage, LoadingMessage } from '../common'; -import { HistoryBoradProps } from '@/types/common'; +export interface HistoryBoardProps { + paramsId: string; +} -export default function HistoryLikes({ paramsId }: HistoryBoradProps) { +export default function HistoryLikes({ paramsId }: HistoryBoardProps) { const router = useRouter(); const {