diff --git a/src/components/Subscribe/index.js b/src/components/Subscribe/index.js index 9f207aa9..d7235b9b 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) { diff --git a/src/components/Subscribe/style.module.css b/src/components/Subscribe/style.module.css index 372d92d2..ee512904 100644 --- a/src/components/Subscribe/style.module.css +++ b/src/components/Subscribe/style.module.css @@ -65,7 +65,6 @@ font-weight: var(--ifm-font-weight-bold); } - @keyframes loader { 0% { transform: rotate(0deg); diff --git a/src/utils/Toast.js b/src/utils/Toast.js deleted file mode 100644 index e69de29b..00000000