Add privacy policy flow

This commit is contained in:
Robert Long
2021-12-20 13:15:35 -08:00
parent 493445a6b0
commit 66e5ec976b
5 changed files with 209 additions and 8 deletions

View File

@@ -20,14 +20,14 @@ import { ReactComponent as Logo } from "./icons/LogoLarge.svg";
import { FieldRow, InputField, ErrorMessage } from "./Input";
import { Button } from "./button";
import {
useClient,
defaultHomeserver,
defaultHomeserverHost,
useInteractiveLogin,
} from "./ConferenceCallManagerHooks";
import styles from "./LoginPage.module.css";
export function LoginPage() {
const { login } = useClient();
const [_, login] = useInteractiveLogin();
const [homeserver, setHomeServer] = useState(defaultHomeserver);
const usernameRef = useRef();
const passwordRef = useRef();