Skip to content

Commit

Permalink
Fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
djfarrelly committed Dec 11, 2024
1 parent 56c37eb commit 36344de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/Blog/BlogPostList.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import Image from "next/image";
import { RiCalendarLine } from "@remixicon/react";
import Tags from "src/shared/Blog/Tags";
import { type BlogPost } from "./index";
import { type MDXBlogPost } from "./index";

export default function BlogPostList({ posts }: { posts: BlogPost[] }) {
export default function BlogPostList({ posts }: { posts: MDXBlogPost[] }) {
return (
<ul className="grid grid-cols-1 md:grid-cols-2 gap-x-8 lg:gap-x-4 xl:gap-x-8 lg:grid-cols-3 gap-y-20">
{posts.map((post) => (
Expand Down

0 comments on commit 36344de

Please sign in to comment.