feat: force dynamic rendering for the home page

This commit is contained in:
ismail 2026-02-02 17:10:45 +01:00
parent d1d5752094
commit 26789c579f
1 changed files with 2 additions and 0 deletions

View File

@ -61,6 +61,8 @@ async function getNewProducts() {
return rows.map(p => ({ ...p, images: p.primary_image ? [p.primary_image] : [] })); return rows.map(p => ({ ...p, images: p.primary_image ? [p.primary_image] : [] }));
} }
export const dynamic = "force-dynamic";
export default async function Home() { export default async function Home() {
const categories = await getCategories(); const categories = await getCategories();
const popularProducts = await getPopularProducts(); const popularProducts = await getPopularProducts();