From bbfa2a4eabb8f047b937b1241c31d7b5caa91527 Mon Sep 17 00:00:00 2001 From: MartinBraquet Date: Thu, 16 Oct 2025 01:23:12 +0200 Subject: [PATCH] Wait longer for user to appear --- web/lib/api.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/lib/api.ts b/web/lib/api.ts index 0dd269d6..a624da9e 100644 --- a/web/lib/api.ts +++ b/web/lib/api.ts @@ -13,8 +13,8 @@ export async function api

( while (!auth.currentUser) { i++ await sleep(i * 10) - if (i > 10) { - console.error('User did not load after 10 iterations') + if (i > 300) { + console.error('User did not load after 300 iterations') break } }