remove useless ;

This commit is contained in:
HEREYUA 2024-01-03 18:43:46 +08:00
parent bb994574fc
commit 0e48511547

View file

@ -3,8 +3,8 @@ import Input from "../Input"
import Button from "../Button" import Button from "../Button"
import style from "./style.module.css" import style from "./style.module.css"
import clsx from "clsx" import clsx from "clsx"
import Alert from '@mui/material/Alert'; import Alert from '@mui/material/Alert'
import Snackbar from '@mui/material/Snackbar'; import Snackbar from '@mui/material/Snackbar'
const Spinner = () => <span className={style.loader} /> const Spinner = () => <span className={style.loader} />
const Subscribe = ({placeholder, submitButtonText, className, classNameInputs}) => { const Subscribe = ({placeholder, submitButtonText, className, classNameInputs}) => {
const [loading, setLoading] = useState(false) const [loading, setLoading] = useState(false)
@ -41,7 +41,7 @@ const Subscribe = ({placeholder, submitButtonText, className, classNameInputs})
}) })
} }
function handleInputChange(event) { function handleInputChange(event) {
const value = event.target.value; const value = event.target.value
setInputValue(value) setInputValue(value)
} }
function handleClose (event, reason) { function handleClose (event, reason) {