add dynamic export

This commit is contained in:
Danel Kungla
2025-09-25 17:42:53 +03:00
parent 0f2bfb74b4
commit 1acde486f2
2 changed files with 3 additions and 1 deletions

View File

@@ -15,6 +15,8 @@ import Cart from '../../_components/cart';
import CartTimer from '../../_components/cart/cart-timer';
import { EnrichedCartItem } from '../../_components/cart/types';
export const dynamic = 'force-dynamic';
export async function generateMetadata() {
const { t } = await createI18nServerInstance();

View File

@@ -312,7 +312,7 @@ export async function updateReservationTime(
cartId: cartId,
comment: `${reservationData}`,
});
// revalidatePath('/home/cart', 'layout');
revalidatePath('/home/cart', 'layout');
} catch (e) {
logger.error(`Failed to update reservation ${reservationData}`);
await createCartEntriesLog({