Skip to content

Commit

Permalink
#161 Head 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
Chaeyeon1 committed Dec 14, 2023
1 parent 264ef45 commit 8ca0a0d
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions client/src/app/[blogName]/home/[categoryId]/[postId]/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import PostData from '@/components/Post/PostData';
import { SERVER_URL } from '@/constant/common';
import { Metadata } from 'next';
import Head from 'next/head';
import React from 'react';

const getData = async (id: number) => {
Expand All @@ -28,14 +27,9 @@ export const generateMetadata = async ({

function page({ params }: { params: { blogName: string; categoryId: string; postId: string } }) {
return (
<>
<Head>
<title key={'title'}>{`${params.blogName} | Next Movies`}</title>
</Head>
<PostData
params={{ blogName: params.blogName, categoryId: params.categoryId, postId: params.postId }}
/>
</>
<PostData
params={{ blogName: params.blogName, categoryId: params.categoryId, postId: params.postId }}
/>
);
}

Expand Down

0 comments on commit 8ca0a0d

Please sign in to comment.