- deleting a resume

This commit is contained in:
Amruth Pillai
2020-07-04 15:13:50 +05:30
parent e247cb102c
commit b42deb737c
6 changed files with 35 additions and 14 deletions
+13 -10
View File
@@ -1,21 +1,24 @@
import React, { Fragment } from "react";
import { ToastContainer, Slide } from "react-toastify";
import React, { Fragment, useEffect } from "react";
import { Slide, toast } from "react-toastify";
import ModalRegistrar from "../../modals/ModalRegistrar";
const Wrapper = ({ children }) => {
useEffect(() => {
toast.configure({
role: "alert",
hideProgressBar: true,
transition: Slide,
closeButton: false,
position: "bottom-right",
pauseOnFocusLoss: false,
});
}, []);
return (
<Fragment>
{children}
<ModalRegistrar />
<ToastContainer
role="alert"
hideProgressBar
transition={Slide}
closeButton={false}
position="bottom-right"
pauseOnFocusLoss={false}
/>
</Fragment>
);
};