From e6e97caa36d56bc018c86eb0f64d2ecdf59d6039 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20FAMIBELLE-PRONZOLA?= Date: Fri, 20 May 2022 04:52:30 +0400 Subject: [PATCH] Fix small image --- pages/paroles/[slug].js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/paroles/[slug].js b/pages/paroles/[slug].js index 5993884..52807b1 100644 --- a/pages/paroles/[slug].js +++ b/pages/paroles/[slug].js @@ -39,7 +39,7 @@ export default function SlugTeks({hasError, errorMessage, paroles, parole, slug, } if (couverture.data.attributes && couverture.data.attributes.formats && couverture.data.attributes.formats.small) { - return couverture.formats.small + return couverture.data.attributes.formats.small } return couverture.data.attributes