We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dff50b5 commit de7879fCopy full SHA for de7879f
examples/example_next/src/app/(website)/blog/[id]/page.tsx
@@ -1,14 +1,13 @@
1
import React from "react";
2
import { getBlogEntry } from "@/app/common/database";
3
import { BlogEntryView } from "@/app/common/components/BlogEntryView";
4
-import { CenteredView } from "@firecms/ui";
5
6
export default async function Page({ params }: { params: Promise<{ id: string }> }) {
7
const { id } = await params;
8
9
const data = await getBlogEntry(id);
10
if (!data) {
11
- return <CenteredView>Blog entry not found</CenteredView>;
+ return <div>Blog entry not found</div>;
12
}
13
return (
14
<BlogEntryView blogEntry={data}/>
0 commit comments