Skip to content

Commit de7879f

Browse files
committed
Minor
1 parent dff50b5 commit de7879f

File tree

1 file changed

+1
-2
lines changed
  • examples/example_next/src/app/(website)/blog/[id]

1 file changed

+1
-2
lines changed

examples/example_next/src/app/(website)/blog/[id]/page.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
import React from "react";
22
import { getBlogEntry } from "@/app/common/database";
33
import { BlogEntryView } from "@/app/common/components/BlogEntryView";
4-
import { CenteredView } from "@firecms/ui";
54

65
export default async function Page({ params }: { params: Promise<{ id: string }> }) {
76
const { id } = await params;
87

98
const data = await getBlogEntry(id);
109
if (!data) {
11-
return <CenteredView>Blog entry not found</CenteredView>;
10+
return <div>Blog entry not found</div>;
1211
}
1312
return (
1413
<BlogEntryView blogEntry={data}/>

0 commit comments

Comments
 (0)