Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Florent Mariotti committed Jan 7, 2025
1 parent 218b4cc commit 07239d8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions frontend/src/components/Preview-modal/PreviewModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ export const PreviewModal: FC = () => {

return (
<Box sx={{ position: "relative" }}>
{/* La Modal MUI originale */}
<Modal
open={CARD_PREVIEW}
onClose={() => closeActiveCardAction(BOARD_MODAL_TYPE.CARD_PREVIEW)}
Expand Down Expand Up @@ -142,8 +141,7 @@ export const PreviewModal: FC = () => {
</ModalWrapper>
</Modal>

{/* Les boutons de navigation en dehors de la Modal */}
{CARD_PREVIEW && ( // On les affiche seulement quand la modal est ouverte
{CARD_PREVIEW && (
<>
{cardIndex > 0 && (
<IconButton
Expand Down

0 comments on commit 07239d8

Please sign in to comment.