fix: types errors

This commit is contained in:
DIYgod 2023-04-12 02:56:28 +01:00
parent 09acb3814e
commit 3d6c233553
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

@ -127,9 +127,9 @@ export const SiteSearch: React.FC<{
{t("load more", {
ns: "site",
name: t(
"post" + (postPages[0].total - currentLength > 1 ? "s" : ""),
"post" + (postPages[0].count - currentLength > 1 ? "s" : ""),
),
count: postPages[0].total - currentLength,
count: postPages[0].count - currentLength,
})}
</Button>
)}