TypeScriptify useInteractiveLogin

This commit is contained in:
Robin Townsend
2022-05-27 13:29:46 -04:00
parent af74228f8e
commit 35e2135e3c
3 changed files with 56 additions and 59 deletions

View File

@@ -37,7 +37,7 @@ export const LoginPage: FC = () => {
usePageTitle("Login");
const { setClient } = useClient();
const [, login] = useInteractiveLogin();
const login = useInteractiveLogin();
const homeserver = defaultHomeserver; // TODO: Make this configurable
const usernameRef = useRef<HTMLInputElement>();
const passwordRef = useRef<HTMLInputElement>();