fix: use m.ul instead of motion.ul in PostList

This commit is contained in:
2026-06-01 20:47:52 -05:00
parent 9b6c20b2eb
commit d2f1768294

View File

@@ -1,6 +1,6 @@
"use client";
import { motion } from "motion/react";
import { m } from "motion/react";
import { PostCard } from "./PostCard";
import type { PostMeta } from "@/lib/posts";
@@ -20,12 +20,12 @@ interface PostListProps {
export function PostList({ posts }: PostListProps) {
return (
<motion.ul variants={listVariants} initial="hidden" animate="visible" className="space-y-8">
<m.ul variants={listVariants} initial="hidden" animate="visible" className="space-y-8">
{posts.map((post) => (
<li key={post.slug}>
<PostCard {...post} index={posts.indexOf(post)} />
</li>
))}
</motion.ul>
</m.ul>
);
}