Skip to content

Commit

Permalink
fix(toast): delete toast container that bugged
Browse files Browse the repository at this point in the history
  • Loading branch information
Mihoub2 committed Jun 17, 2024
1 parent f6ee1f9 commit cfdadd0
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import "react-toastify/dist/ReactToastify.css";
import { toast, ToastContainer } from "react-toastify";
import { toast } from "react-toastify";
import { Button, Col, Container, Link, Row, Text } from "@dataesr/dsfr-plus";
import type { Contribute_Production } from "../../../types";
import EditModal from "../../../components/edit-modal";
Expand Down Expand Up @@ -83,7 +83,6 @@ const MessagePreview = ({

return (
<Container fluid>
<ToastContainer />
{data.comment && (
<Row className="fr-grid-row--center">
<Col md="8" className="comment">
Expand Down

0 comments on commit cfdadd0

Please sign in to comment.