fix: change clickCount to favorite in landing

This commit is contained in:
hanif salafi 2025-11-06 01:35:30 +07:00
parent 78518f038e
commit 5c7b8b7a34
1 changed files with 1 additions and 1 deletions

View File

@ -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"