Skip to content

Commit

Permalink
fix: 서버에 api가 없어서 vercel 빌드 에러가 발생하여 임시 주석 처리
Browse files Browse the repository at this point in the history
  • Loading branch information
ssssksss committed Aug 23, 2024
1 parent 3144d9c commit 597a522
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/app/service/banner/page.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// app/page.tsx
import DefaultLayout from "@/components/Layouts/DefaultLayout";
import BannerContainer from "@/containers/service/BannerContainer";
import { Banner } from "@/types/BannerDto";

interface PageProps {
Expand All @@ -21,13 +20,14 @@ async function fetchBannerList(): Promise<Banner[]> {
}

export default async function HomePage() {
const initBannerList = await fetchBannerList();
// const initBannerList = await fetchBannerList();

return (
<DefaultLayout>
<BannerContainer
서버에 데이터 연결 필요
{/* <BannerContainer
initBannerList={initBannerList.length > 0 ? initBannerList : []}
/>
/> */}
</DefaultLayout>
);
}

0 comments on commit 597a522

Please sign in to comment.