From 184489bca2d341057220a0bf9c1bc11d7f8f2eac Mon Sep 17 00:00:00 2001 From: freefire Date: Fri, 18 Sep 2026 00:42:33 +0800 Subject: [PATCH] =?UTF-8?q?fix(ui):=20=E5=88=97=E8=A1=A8=E4=B8=8D=E5=86=8D?= =?UTF-8?q?=E5=B1=95=E7=A4=BA=E5=90=AB=E9=9A=90=E8=97=8F=E5=86=85=E5=AE=B9?= =?UTF-8?q?=E3=80=81=E5=AF=86=E7=A0=81=E5=8F=AF=E8=A7=81=E7=AD=89=E5=BE=BD?= =?UTF-8?q?=E7=AB=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Cursor --- frontend/components/PostRow.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/frontend/components/PostRow.tsx b/frontend/components/PostRow.tsx index 8068902..80b80b1 100644 --- a/frontend/components/PostRow.tsx +++ b/frontend/components/PostRow.tsx @@ -3,7 +3,7 @@ import { ArrowLeft } from "lucide-react"; import type { PostListItem } from "@/lib/api"; import { formatRelative } from "@/lib/format"; import { getPublicSettingsCached } from "@/lib/serverData"; -import { normalizePostType, postTypeLabel, contentAccessLabel, typeStatusLabel, typeStatusClass } from "@/lib/postMeta"; +import { normalizePostType, postTypeLabel, typeStatusLabel, typeStatusClass } from "@/lib/postMeta"; import LikeButton from "./LikeButton"; import Avatar from "./Avatar"; import { IconComment, IconEye } from "./Icons"; @@ -87,9 +87,6 @@ export default async function PostRow({ {statusBadge && statusClass && ( {statusBadge} )} - {post.content_access && post.content_access !== "public" && ( - {contentAccessLabel(post.content_access)} - )}