Update 404 references in BlogPost

cgen-0bf13c26f05f48149558c9a402fa9fd5
This commit is contained in:
Builder.io 2025-09-30 08:23:10 +00:00
parent 71f44d31af
commit 0c274f8f3a

View file

@ -10,7 +10,7 @@ import {
} from "@/components/ui/card";
import { Badge } from "@/components/ui/badge";
import { User, Calendar } from "lucide-react";
import NotFound from "./NotFound";
import FourOhFourPage from "./404";
export default function BlogPost() {
const { slug } = useParams<{ slug: string }>();
@ -37,7 +37,7 @@ export default function BlogPost() {
}, [slug]);
if (loading) return null;
if (!post) return <NotFound />;
if (!post) return <FourOhFourPage />;
return (
<Layout>