atmosphere explorer pds.ls
tool typescript atproto
434
fork

Configure Feed

Select the types of activity you want to include in your feed.

show error when backlinks timeout

Juliet 1eb95b95 367efcf2

+13 -11
+13 -11
src/components/backlinks.tsx
··· 240 240 241 241 return ( 242 242 <div class="flex w-full flex-col gap-3 text-sm"> 243 - <Show when={response()} fallback={<p class="text-neutral-500">Loading…</p>}> 244 - <Show 245 - when={selectedCollection()} 246 - fallback={<BacklinkDirectory groups={groups()} pathname={location.pathname} />} 247 - > 248 - <BacklinkCollectionDetail 249 - target={props.target} 250 - collection={selectedCollection()!} 251 - entries={selectedEntries()} 252 - pathname={location.pathname} 253 - /> 243 + <Show when={!response.error} fallback={<p class="text-red-500">Failed to load backlinks.</p>}> 244 + <Show when={response()} fallback={<p class="text-neutral-500">Loading…</p>}> 245 + <Show 246 + when={selectedCollection()} 247 + fallback={<BacklinkDirectory groups={groups()} pathname={location.pathname} />} 248 + > 249 + <BacklinkCollectionDetail 250 + target={props.target} 251 + collection={selectedCollection()!} 252 + entries={selectedEntries()} 253 + pathname={location.pathname} 254 + /> 255 + </Show> 254 256 </Show> 255 257 </Show> 256 258 </div>