+1
-3
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
-
if (input === "me" && localStorage.getItem("lastSignedIn") !== null) {
71
-
navigate(`/at://${localStorage.getItem("lastSignedIn")}`);
72
-
} else if (search()?.length) {
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);