fix: layout updates

This commit is contained in:
swve 2023-01-14 01:36:54 +01:00
parent 26e077eed4
commit 88dc060bae
18 changed files with 3479 additions and 328 deletions

View file

@ -19,7 +19,7 @@ export async function loginAndGetToken(username: string, password: string): Prom
body: urlencoded,
redirect: "follow",
credentials: "include",
};
};
// fetch using await and async
const response = await fetch(`${getAPIUrl()}auth/login`, requestOptions);
@ -76,3 +76,5 @@ export async function signup(body: NewAccountBody): Promise<any> {
.then((result) => result.json())
.catch((error) => console.log("error", error));
}