Menu octopus

This commit is contained in:
sebvtl728
2025-07-31 22:25:04 +02:00
parent 58ce0af44e
commit 53ae6365f4
6 changed files with 19 additions and 36 deletions
+1 -2
View File
@@ -23,7 +23,6 @@ const PostDetails = () => {
if (response.data.length > 0) {
const article = response.data[0];
setPost(article);
console.log("✅ Article trouvé :", article);
if (article.featured_media) {
console.log(`📢 Récupération de l'image ID : ${article.featured_media}`);
@@ -69,7 +68,7 @@ const PostDetails = () => {
component="img"
src={image}
alt={post.title.rendered}
sx={{ width: "100%", maxHeight: "400px", objectFit: "cover", borderRadius: "8px", mb: 3 }}
sx={{ width: "100%", maxHeight: "400px", objectFit: "cover", borderRadius: "10px 0 10px 10px", mb: 3 }}
/>
)}