Fix types

This commit is contained in:
Robin Townsend
2022-10-13 21:25:15 -04:00
parent 004160b664
commit 81771f511c
5 changed files with 8 additions and 6 deletions

View File

@@ -29,7 +29,7 @@ export const useInteractiveLogin = () =>
password: string
) => Promise<[MatrixClient, Session]>
>(async (homeserver: string, username: string, password: string) => {
const authClient = createClient(homeserver);
const authClient = createClient({ baseUrl: homeserver });
const interactiveAuth = new InteractiveAuth({
matrixClient: authClient,