diff --git a/src/components/Practice/Mechanics3.jsx b/src/components/Practice/Mechanics3.jsx index e89913f0..3a560810 100644 --- a/src/components/Practice/Mechanics3.jsx +++ b/src/components/Practice/Mechanics3.jsx @@ -261,8 +261,8 @@ const Mechanics2 = ({ }, }} > - - {image && ( + {image?.split("/")?.[4] && ( + setZoomOpen(true)} src={image} @@ -273,32 +273,36 @@ const Mechanics2 = ({ }} alt="" /> - )} - {/* Subtle gradient overlay across the top */} - - {/* Zoom icon positioned in the top-left corner */} - setZoomOpen(true)} - sx={{ color: "white", fontSize: "22px", cursor: "pointer" }} - /> + {/* Subtle gradient overlay across the top */} + + {/* Zoom icon positioned in the top-left corner */} + setZoomOpen(true)} + sx={{ + color: "white", + fontSize: "22px", + cursor: "pointer", + }} + /> + - + )} setZoomOpen(false)}