your personal website on atproto - mirror blento.app

format

Florian 61ec08ff 1e47538a

+2 -2
+2 -2
src/routes/(auth)/oauth/callback/+page.svelte
··· 11 11 12 12 $effect(() => { 13 13 if (user.profile) { 14 - if(hasRedirected) return; 14 + if (hasRedirected) return; 15 15 16 16 const redirect = localStorage.getItem('login-redirect'); 17 17 localStorage.removeItem('login-redirect'); 18 - console.log('redirect', redirect) 18 + console.log('redirect', redirect); 19 19 goto(redirect || '/' + getHandleOrDid(user.profile) + '/edit', {}); 20 20 21 21 hasRedirected = true;