diff --git a/src/components/Login/index.tsx b/src/components/Login/index.tsx index 359f1d8..7a483ea 100644 --- a/src/components/Login/index.tsx +++ b/src/components/Login/index.tsx @@ -6,10 +6,12 @@ import SignInWithMsButton from "src/components/Login/SignInWithMsButton"; import {ToastContainer} from "react-toastify"; import {BsFillEyeFill, BsFillEyeSlashFill} from "react-icons/bs"; import {useTypedSelector} from "src/state/ReduxSotre"; +import {useAppConfigQuery} from "src/client/apis/generalApi"; const Login = () => { const theme = useTypedSelector(i => i.theme) + const config = useAppConfigQuery() const {login} = useAuthApi(); const [username, setUsername] = useState(""); const [password, setPassword] = useState(""); @@ -79,6 +81,7 @@ const Login = () => {