tangled
alpha
login
or
join now
vielle.dev
/
pdsls
forked from
pds.ls/pdsls
0
fork
atom
atproto explorer
0
fork
atom
overview
issues
pulls
pipelines
fix duplicate pds version fetch
handle.invalid
5 months ago
08fc4710
66c11294
verified
This commit was signed with the committer's
known signature
.
handle.invalid
SSH Key Fingerprint:
SHA256:mBrT4x0JdzLpbVR95g1hjI1aaErfC02kmLRkPXwsYCk=
+1
-2
1 changed file
expand all
collapse all
unified
split
src
views
pds.tsx
+1
-2
src/views/pds.tsx
···
29
29
};
30
30
31
31
const fetchRepos = async () => {
32
32
-
await getVersion();
32
32
+
getVersion();
33
33
const describeRes = await rpc.get("com.atproto.server.describeServer");
34
34
if (!describeRes.ok) console.error(describeRes.data.error);
35
35
else setServerInfos(describeRes.data);
···
39
39
if (!res.ok) throw new Error(res.data.error);
40
40
setCursor(res.data.repos.length < LIMIT ? undefined : res.data.cursor);
41
41
setRepos(repos()?.concat(res.data.repos) ?? res.data.repos);
42
42
-
await getVersion();
43
42
return res.data;
44
43
};
45
44