fix(auth): block render while logging in

This commit is contained in:
Paul
2021-12-24 11:32:59 +00:00
parent 74430b1a8f
commit c31bcd0200
2 changed files with 5 additions and 4 deletions

View File

@@ -50,7 +50,7 @@ export function FormLogin() {
"x-session-token": session?.token,
};
function login() {
async function login() {
auth.setSession(session);
}
@@ -58,6 +58,7 @@ export function FormLogin() {
"GET",
"/onboard/hello",
);
if (onboarding) {
openScreen({
id: "onboarding",