fix: limit latest updates preview to nine
All checks were successful
Deploy to Frontend Servers / deploy (push) Successful in 26s
All checks were successful
Deploy to Frontend Servers / deploy (push) Successful in 26s
This commit is contained in:
@@ -148,7 +148,7 @@ export function Home() {
|
|||||||
const postQ = `?lang=${langParam}&language=${languageParam}`;
|
const postQ = `?lang=${langParam}&language=${languageParam}`;
|
||||||
const categoriesUrl = `/api/categories${catQ}`;
|
const categoriesUrl = `/api/categories${catQ}`;
|
||||||
const recommendedUrl = `/api/posts/recommended${postQ}&limit=12`;
|
const recommendedUrl = `/api/posts/recommended${postQ}&limit=12`;
|
||||||
const latestUrl = `/api/posts${postQ}&sort=latest&limit=12`;
|
const latestUrl = `/api/posts${postQ}&sort=latest&limit=9`;
|
||||||
const popularUrl = `/api/posts${postQ}&sort=popular&limit=5`;
|
const popularUrl = `/api/posts${postQ}&sort=popular&limit=5`;
|
||||||
|
|
||||||
const applyHomeData = (
|
const applyHomeData = (
|
||||||
|
|||||||
Reference in New Issue
Block a user