fix: resolve typescript build errors in page and admin actions

This commit is contained in:
AyrisAI
2026-05-16 01:25:56 +03:00
parent 6169742476
commit 71856799ac
2 changed files with 6 additions and 6 deletions

View File

@@ -5,7 +5,7 @@ export const dynamic = 'force-dynamic';
export default async function Page() {
try {
const restaurant = await (prisma as any).restaurant.findFirst({
const restaurant = await prisma.restaurant.findFirst({
orderBy: { createdAt: 'desc' },
include: {
categories: {
@@ -44,7 +44,7 @@ export default async function Page() {
ingredients: item.ingredients,
tasteProfile: item.tasteProfile,
grapeVariety: item.grapeVariety,
price: item.price,
price: item.price as any,
})),
})),
};