Skip to content

Commit 8ad2a70

Browse files
committed
fix: update notFound() usage to be consistent
1 parent 6adee5d commit 8ad2a70

File tree

1 file changed

+1
-1
lines changed
  • apps/developer-hub/src/components/Pages/BasePage

1 file changed

+1
-1
lines changed

apps/developer-hub/src/components/Pages/BasePage/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { notFound } from "next/navigation";
1010

1111
export function BasePage(props: { params: { slug: string[] } }) {
1212
const page = source.getPage(props.params.slug);
13-
if (!page) return notFound();
13+
if (!page) notFound();
1414

1515
const MDX = page.data.body;
1616

0 commit comments

Comments
 (0)