From d5dc0ea80dc57aec106de809fdf66c3fd5cf68d0 Mon Sep 17 00:00:00 2001 From: Tudor Stanciu Date: Sun, 7 Nov 2021 04:41:34 +0200 Subject: [PATCH] fix --- src/components/App.js | 2 +- src/pages/login/Login.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 />