your personal website on atproto - mirror blento.app

improve oauth callback page (show error later ^^)

Florian 4f117a2e 957b7fba

+3 -3
+3 -3
src/routes/(auth)/oauth/callback/+page.svelte
··· 17 17 18 18 setTimeout(() => { 19 19 showError = true; 20 - }, 3000); 20 + }, 5000); 21 21 } 22 22 }); 23 23 </script> 24 24 25 - {#if user.isInitializing || !showError} 25 + {#if !showError} 26 26 <div class="flex min-h-screen w-full items-center justify-center text-3xl">Loading...</div> 27 - {:else if showError} 27 + {:else} 28 28 <div class="flex min-h-screen w-full items-center justify-center text-3xl"> 29 29 <span class="max-w-xl text-center font-medium" 30 30 >There was an error signing you in, please go back to the