fix: 빌드 에러
This commit is contained in:
@@ -3,7 +3,6 @@ export {
|
|||||||
boardFormSchema,
|
boardFormSchema,
|
||||||
BOARD_POSTING_CODE,
|
BOARD_POSTING_CODE,
|
||||||
type Board,
|
type Board,
|
||||||
type BoardType,
|
|
||||||
type BoardFormData,
|
type BoardFormData,
|
||||||
type BoardParams,
|
type BoardParams,
|
||||||
type BoardPopup,
|
type BoardPopup,
|
||||||
|
|||||||
@@ -23,8 +23,8 @@ import {
|
|||||||
Skeleton,
|
Skeleton,
|
||||||
} from "@common/components";
|
} from "@common/components";
|
||||||
import { PostApi, type Post, type PostParams } from "@/entities/post";
|
import { PostApi, type Post, type PostParams } from "@/entities/post";
|
||||||
import type { BoardType } from "@/entities/board";
|
|
||||||
import { ENDPOINT } from "@/shared/config";
|
import { ENDPOINT } from "@/shared/config";
|
||||||
|
import type { BbsType } from "@/shared/store/menu-store";
|
||||||
import { useMenuStore, useUserStore } from "@/shared/lib";
|
import { useMenuStore, useUserStore } from "@/shared/lib";
|
||||||
import { GridViewDataTable } from "@/shared/ui/grid-view-data-table";
|
import { GridViewDataTable } from "@/shared/ui/grid-view-data-table";
|
||||||
import { columns } from "../model/post-table-columns";
|
import { columns } from "../model/post-table-columns";
|
||||||
@@ -36,7 +36,7 @@ function PostPage({ bbsId }: { bbsId: string }) {
|
|||||||
const { confirm } = useConfirm();
|
const { confirm } = useConfirm();
|
||||||
const { userInfo } = useUserStore((state) => state);
|
const { userInfo } = useUserStore((state) => state);
|
||||||
const { bbsInfo, pageMenuAuthority } = useMenuStore((state) => state);
|
const { bbsInfo, pageMenuAuthority } = useMenuStore((state) => state);
|
||||||
const bbsType = bbsInfo?.bbsTypeCd as BoardType;
|
const bbsType = bbsInfo?.bbsTypeCd as BbsType;
|
||||||
|
|
||||||
const [postParams, setPostParams] = useState<PostParams>({
|
const [postParams, setPostParams] = useState<PostParams>({
|
||||||
keywordType: "title",
|
keywordType: "title",
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ export {
|
|||||||
boardFormSchema,
|
boardFormSchema,
|
||||||
BOARD_POSTING_CODE,
|
BOARD_POSTING_CODE,
|
||||||
type Board,
|
type Board,
|
||||||
type BoardType,
|
|
||||||
type BoardFormData,
|
type BoardFormData,
|
||||||
type BoardParams,
|
type BoardParams,
|
||||||
type BoardPopup,
|
type BoardPopup,
|
||||||
|
|||||||
Reference in New Issue
Block a user