tangled
alpha
login
or
join now
retr0.id
/
pdsls
forked from
pds.ls/pdsls
1
fork
atom
atproto explorer
1
fork
atom
overview
issues
pulls
pipelines
add notif error when schema not resolved
handle.invalid
4 months ago
18a6faef
166462bf
verified
This commit was signed with the committer's
known signature
.
handle.invalid
SSH Key Fingerprint:
SHA256:mBrT4x0JdzLpbVR95g1hjI1aaErfC02kmLRkPXwsYCk=
+6
1 changed file
expand all
collapse all
unified
split
src
components
json.tsx
+6
src/components/json.tsx
···
1
1
import { isDid, isNsid, Nsid } from "@atcute/lexicons/syntax";
2
2
import { A, useNavigate, useParams } from "@solidjs/router";
3
3
import { createEffect, createSignal, ErrorBoundary, For, Show } from "solid-js";
4
4
+
import { setNotif } from "../layout";
4
5
import { resolveLexiconAuthority } from "../utils/api";
5
6
import { ATURI_RE } from "../utils/types/at-uri";
6
7
import { hideMedia } from "../views/settings";
···
37
38
navigate(`/at://${authority}/com.atproto.lexicon.schema/${nsid}${hash}`);
38
39
} catch (err) {
39
40
console.error("Failed to resolve lexicon authority:", err);
41
41
+
setNotif({
42
42
+
show: true,
43
43
+
icon: "lucide--circle-alert",
44
44
+
text: "Could not resolve schema",
45
45
+
});
40
46
}
41
47
};
42
48