diff --git a/client/src/components/PopUpAlert.js b/client/src/components/PopUpAlert.js index 1429a01..ed45cdd 100644 --- a/client/src/components/PopUpAlert.js +++ b/client/src/components/PopUpAlert.js @@ -5,32 +5,34 @@ import Snackbar from "@mui/material/Snackbar"; import MuiAlert from "@mui/material/Alert"; const Alert = React.forwardRef(function Alert(props, ref) { - return ; + return ; }); export default function PopUpAlert(props) { - const [open, setOpen] = React.useState(false); + const [open, setOpen] = React.useState(false); - const handleClick = () => { - setOpen(true); - }; + const handleClick = () => { + setOpen(true); + }; - const handleClose = (event, reason) => { - if (reason === "clickaway") { - return; - } + const handleClose = (event, reason) => { + if (reason === "clickaway") { + return; + } - setOpen(false); - }; + setOpen(false); + }; - return ( + return (