diff --git a/src/components/Subscribe/index.js b/src/components/Subscribe/index.js index 9f207aa..d7235b9 100644 --- a/src/components/Subscribe/index.js +++ b/src/components/Subscribe/index.js @@ -3,8 +3,8 @@ import Input from "../Input" import Button from "../Button" import style from "./style.module.css" import clsx from "clsx" -import Alert from '@mui/material/Alert'; -import Snackbar from '@mui/material/Snackbar'; +import Alert from '@mui/material/Alert' +import Snackbar from '@mui/material/Snackbar' const Spinner = () => const Subscribe = ({placeholder, submitButtonText, className, classNameInputs}) => { const [loading, setLoading] = useState(false) @@ -41,7 +41,7 @@ const Subscribe = ({placeholder, submitButtonText, className, classNameInputs}) }) } function handleInputChange(event) { - const value = event.target.value; + const value = event.target.value setInputValue(value) } function handleClose (event, reason) {