Skip to content

Commit d1f4c33

Browse files
committed
chore: upgrade eslint
1 parent 51bcb64 commit d1f4c33

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/posts/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import {
1919

2020
import { Section, Container, Prose } from "@/components/craft";
2121
import { Metadata } from "next";
22-
import PostCard from "@/components/posts/post-card";
22+
import { PostCard } from "@/components/posts/post-card";
2323
import { FilterPosts } from "@/components/posts/filter";
2424
import { SearchInput } from "@/components/posts/search-input";
2525

components/posts/post-card.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {
1010
getCategoryById,
1111
} from "@/lib/wordpress";
1212

13-
export default async function PostCard({ post }: { post: Post }) {
13+
export async function PostCard({ post }: { post: Post }) {
1414
const media = post.featured_media
1515
? await getFeaturedMediaById(post.featured_media)
1616
: null;

0 commit comments

Comments
 (0)