diff --git a/apps/common/features/src/entities/board/index.ts b/apps/common/features/src/entities/board/index.ts index 4a953a385..0b63103e7 100644 --- a/apps/common/features/src/entities/board/index.ts +++ b/apps/common/features/src/entities/board/index.ts @@ -3,7 +3,6 @@ export { boardFormSchema, BOARD_POSTING_CODE, type Board, - type BoardType, type BoardFormData, type BoardParams, type BoardPopup, diff --git a/apps/common/features/src/widgets/post/ui/post-page.tsx b/apps/common/features/src/widgets/post/ui/post-page.tsx index 776940266..262226a48 100644 --- a/apps/common/features/src/widgets/post/ui/post-page.tsx +++ b/apps/common/features/src/widgets/post/ui/post-page.tsx @@ -23,8 +23,8 @@ import { Skeleton, } from "@common/components"; import { PostApi, type Post, type PostParams } from "@/entities/post"; -import type { BoardType } from "@/entities/board"; import { ENDPOINT } from "@/shared/config"; +import type { BbsType } from "@/shared/store/menu-store"; import { useMenuStore, useUserStore } from "@/shared/lib"; import { GridViewDataTable } from "@/shared/ui/grid-view-data-table"; import { columns } from "../model/post-table-columns"; @@ -36,7 +36,7 @@ function PostPage({ bbsId }: { bbsId: string }) { const { confirm } = useConfirm(); const { userInfo } = useUserStore((state) => state); const { bbsInfo, pageMenuAuthority } = useMenuStore((state) => state); - const bbsType = bbsInfo?.bbsTypeCd as BoardType; + const bbsType = bbsInfo?.bbsTypeCd as BbsType; const [postParams, setPostParams] = useState({ keywordType: "title", diff --git a/apps/cs/src/entities/board/index.ts b/apps/cs/src/entities/board/index.ts index e28ee59f6..ddd10f382 100644 --- a/apps/cs/src/entities/board/index.ts +++ b/apps/cs/src/entities/board/index.ts @@ -3,7 +3,6 @@ export { boardFormSchema, BOARD_POSTING_CODE, type Board, - type BoardType, type BoardFormData, type BoardParams, type BoardPopup,