Fix small image

This commit is contained in:
Cédric FAMIBELLE-PRONZOLA
2022-05-20 04:52:30 +04:00
parent a0ea1afaa3
commit e6e97caa36
+1 -1
View File
@@ -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) { 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 return couverture.data.attributes