Skip to content

Commit

Permalink
feat: metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
vineet agarwal authored and vineet agarwal committed Jan 19, 2025
1 parent f3b782b commit b38c268
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/app/blog/[name]/page.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
// import {
// fetchViewCount,
// incrementViewCount,
// } from "@/app/actions/viewcount.actions";
// import { Eye } from "lucide-react";
import getFormattedDate from "@/lib/formatdate";
import Link from "next/link";
import Image from "next/image";
Expand All @@ -14,7 +9,7 @@ export async function generateMetadata({
params,
}: {
params: { name: string };
}) {
}): Promise<Metadata> {
const post = await getBlogByName(`${params.name}.mdx`);

if (!post) {
Expand Down

0 comments on commit b38c268

Please sign in to comment.