From 5c7b8b7a34d1c0012252842b928271409e28f322 Mon Sep 17 00:00:00 2001 From: hanif salafi Date: Thu, 6 Nov 2025 01:35:30 +0700 Subject: [PATCH] fix: change clickCount to favorite in landing --- components/landing-page/new-content.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/landing-page/new-content.tsx b/components/landing-page/new-content.tsx index bbc0bbca..e60bfd52 100644 --- a/components/landing-page/new-content.tsx +++ b/components/landing-page/new-content.tsx @@ -75,7 +75,7 @@ const NewContent = (props: { group: string; type: string }) => { title: "", page: 0, size: 5, - sortBy: props.type == "popular" ? "clickCount" : "createdAt", + sortBy: props.type == "popular" ? "favorite" : "createdAt", contentTypeId: selectedTab == "image" ? "1"