Skip to content

Commit

Permalink
More bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
ujaandas committed Aug 20, 2024
1 parent a4a2c72 commit bdfdecc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions src/components/mdx/Post.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import { PostMetadata } from "@/lib/data-fetcher";
import { MDXRemote } from "next-mdx-remote/rsc";
import Tags from "./Tags";

interface PostProps {
metadata: PostMetadata;
metadata: any;
content: string;
}

Expand Down
1 change: 0 additions & 1 deletion src/lib/helper/mdx.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import matter, { GrayMatterFile } from "gray-matter";
import { AboutMeMetadata, PostMetadata } from "../data-fetcher";

export const matterizeFile = async (file: string) => {
return matter(file);
Expand Down

0 comments on commit bdfdecc

Please sign in to comment.