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
remove search me behavior
handle.invalid
5 months ago
5eff9c8f
79fa277d
verified
This commit was signed with the committer's
known signature
.
handle.invalid
SSH Key Fingerprint:
SHA256:mBrT4x0JdzLpbVR95g1hjI1aaErfC02kmLRkPXwsYCk=
+1
-3
1 changed file
expand all
collapse all
unified
split
src
components
search.tsx
+1
-3
src/components/search.tsx
···
67
67
input = input.trim().replace(/^@/, "");
68
68
if (!input.length) return;
69
69
setShowSearch(false);
70
70
-
if (input === "me" && localStorage.getItem("lastSignedIn") !== null) {
71
71
-
navigate(`/at://${localStorage.getItem("lastSignedIn")}`);
72
72
-
} else if (search()?.length) {
70
70
+
if (search()?.length) {
73
71
navigate(`/at://${search()![0].did}`);
74
72
} else if (input.startsWith("https://") || input.startsWith("http://")) {
75
73
const hostLength = input.indexOf("/", 8);