diff --git a/frontend/src/components/Preview-modal/PreviewModal.tsx b/frontend/src/components/Preview-modal/PreviewModal.tsx index de5336f2..d9e33061 100644 --- a/frontend/src/components/Preview-modal/PreviewModal.tsx +++ b/frontend/src/components/Preview-modal/PreviewModal.tsx @@ -92,7 +92,6 @@ export const PreviewModal: FC = () => { return ( - {/* La Modal MUI originale */} closeActiveCardAction(BOARD_MODAL_TYPE.CARD_PREVIEW)} @@ -142,8 +141,7 @@ export const PreviewModal: FC = () => { - {/* Les boutons de navigation en dehors de la Modal */} - {CARD_PREVIEW && ( // On les affiche seulement quand la modal est ouverte + {CARD_PREVIEW && ( <> {cardIndex > 0 && (