Menu octopus
This commit is contained in:
@@ -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 }}
|
||||
/>
|
||||
)}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user