diff --git a/src/components/App.js b/src/components/App.js index 9b60287..0e8e394 100644 --- a/src/components/App.js +++ b/src/components/App.js @@ -14,7 +14,7 @@ import { useToast } from "../context/ToastContext"; import { useTranslation } from "react-i18next"; export default function App() { - var { authenticated, messageCode } = useUserState(); + const { authenticated, messageCode } = useUserState(); const { t } = useTranslation(); const { notify } = useToast(); diff --git a/src/pages/login/Login.js b/src/pages/login/Login.js index d300c41..e017fd9 100644 --- a/src/pages/login/Login.js +++ b/src/pages/login/Login.js @@ -84,7 +84,7 @@ function Login(props) { value={loginValue} onChange={(e) => setLoginValue(e.target.value)} margin="normal" - placeholder="Email Adress" + placeholder="Email address" type="email" fullWidth />