Skip to content

Commit

Permalink
Remove unnecessary linebreak
Browse files Browse the repository at this point in the history
  • Loading branch information
ProchaLu committed Feb 26, 2024
1 parent 24b1dec commit 542fbcd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/[contentType]/[slug]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ export default async function ContentPage({ params }: { params: Params }) {
}

const content = await fetchContentData(slug, contentType);

if (content.draft) return notFound();

if (contentType === 'works') return <WorkPage work={content} />;
Expand Down

0 comments on commit 542fbcd

Please sign in to comment.