mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-07 01:15:28 +00:00
fix(auth): block render while logging in
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user