From b9b5c77bf17b99cc36c398aae280e20caba4dac2 Mon Sep 17 00:00:00 2001 From: gbanyan Date: Mon, 17 Nov 2025 20:33:05 +0800 Subject: [PATCH] Avoid wrapping article directly in Link to fix hydration mismatch --- components/post-list-item.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/components/post-list-item.tsx b/components/post-list-item.tsx index 0c55238..4a4a8f4 100644 --- a/components/post-list-item.tsx +++ b/components/post-list-item.tsx @@ -25,8 +25,8 @@ export function PostListItem({ post }: Props) { return (
  • - -
    +
    + {cover && (
    {/* eslint-disable-next-line @next/next/no-img-element */} @@ -73,8 +73,8 @@ export function PostListItem({ post }: Props) {

    )}
    -
    - + +
  • ); }