diff --git a/src/pages/community/[id]/index.tsx b/src/pages/community/[id]/index.tsx index e026d20..96e8c2a 100644 --- a/src/pages/community/[id]/index.tsx +++ b/src/pages/community/[id]/index.tsx @@ -21,7 +21,7 @@ const CommunityDetailPage = () => { export default CommunityDetailPage; // eslint-disable-next-line react-refresh/only-export-components -export async function getServerSideProps(context: GetServerSidePropsContext) { +export async function getStaticSideProps(context: GetServerSidePropsContext) { const { query, req } = context; const { cookie } = req.headers; const postId = query.id as string;