bug fix
This commit is contained in:
@@ -22,11 +22,11 @@ export async function generateMetadata({
|
||||
return {
|
||||
title: `${res.data.name} - Gastro Market`,
|
||||
description:
|
||||
res.data.description || `Gastro Market mahsuloti: ${res.data.name}`,
|
||||
res.data.short_name || `Gastro Market mahsuloti: ${res.data.name}`,
|
||||
openGraph: {
|
||||
title: `${res.data.name} - Gastro Market`,
|
||||
description:
|
||||
res.data.description || `Gastro Market mahsuloti: ${res.data.name}`,
|
||||
res.data.short_name || `Gastro Market mahsuloti: ${res.data.name}`,
|
||||
type: 'website',
|
||||
images: [
|
||||
{
|
||||
@@ -45,7 +45,7 @@ export async function generateMetadata({
|
||||
card: 'summary_large_image',
|
||||
title: `${res.data.name} - Gastro Market`,
|
||||
description:
|
||||
res.data.description || `Gastro Market mahsuloti: ${res.data.name}`,
|
||||
res.data.short_name || `Gastro Market mahsuloti: ${res.data.name}`,
|
||||
images:
|
||||
res.data.images && res.data.images.length > 0
|
||||
? [
|
||||
|
||||
Reference in New Issue
Block a user