Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
Florent Mariotti committed Dec 11, 2024
1 parent b4dc76d commit 91f65dc
Showing 1 changed file with 17 additions and 13 deletions.
30 changes: 17 additions & 13 deletions frontend/src/components/toaster-container/ToasterContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ import { Board } from "~/models/board.model";
import { Folder } from "~/models/folder.model";
import { useBoardsNavigation } from "~/providers/BoardsNavigationProvider";
import { useFoldersNavigation } from "~/providers/FoldersNavigationProvider";
import { useDuplicateBoardMutation, useNotifyBoardUsersMutation } from "~/services/api/boards.service";
import {
useDuplicateBoardMutation,
useNotifyBoardUsersMutation,
} from "~/services/api/boards.service";
import { useActions } from "~/services/queries";
import { useUserRightsStore } from "~/stores";

Expand Down Expand Up @@ -380,18 +383,19 @@ export const ToasterContainer = ({
hasSharedElement={hasSharedElement}
/>
<MessageModal
isOpen={isNotifyOpen}
title={t("magneto.board.notify")}
onSubmit={() => { notifyBoardUsers(selectedBoardsIds[0]);
toggleNotify();
}}
submitButtonName={t("magneto.send")}
cancelButtonName={t("magneto.cancel")}
onClose={toggleNotify}
>
<span>{t("magneto.board.notify.text.1")}</span>
<span>{t("magneto.board.notify.text.2")}</span>
</MessageModal>
isOpen={isNotifyOpen}
title={t("magneto.board.notify")}
onSubmit={() => {
notifyBoardUsers(selectedBoardsIds[0]);
toggleNotify();
}}
submitButtonName={t("magneto.send")}
cancelButtonName={t("magneto.cancel")}
onClose={toggleNotify}
>
<span>{t("magneto.board.notify.text.1")}</span>
<span>{t("magneto.board.notify.text.2")}</span>
</MessageModal>
{shareOptions && (
<ShareModalMagneto
isOpen={isShareBoard}
Expand Down

0 comments on commit 91f65dc

Please sign in to comment.