replies timeline only, appview-less bluesky client

fix: show fetch error on first load instead of showing all complete

ptr.pet 11a6e632 b7dd46e0

verified
Changed files
+6 -2
src
routes
+6 -2
src/routes/+page.svelte
··· 180 180 if (loading || $accounts.length === 0) return; 181 181 182 182 loading = true; 183 + loaderState.status = 'LOADING'; 184 + 183 185 try { 184 186 await fetchTimelines($accounts); 185 187 loaderState.loaded(); 186 188 } catch (error) { 187 189 loadError = `${error}`; 188 190 loaderState.error(); 189 - } finally { 190 191 loading = false; 191 - // if (cursors.values().every((cursor) => cursor.end)) loaderState.complete(); 192 + return; 192 193 } 194 + 195 + loading = false; 196 + if (cursors.values().every((cursor) => cursor.end)) loaderState.complete(); 193 197 }; 194 198 195 199 onMount(async () => {