From 45b7b2b9f71a5161ecd5eddb8b2bb4e34d02277a Mon Sep 17 00:00:00 2001 From: Maya Doshi Date: Wed, 27 Nov 2024 14:54:49 -0500 Subject: [PATCH] fix bsky.social account links remove the hostname trimming because bsky doesn't recognize just the handle --- src/utils/api.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/utils/api.ts b/src/utils/api.ts index c1c59da..91b1c9d 100644 --- a/src/utils/api.ts +++ b/src/utils/api.ts @@ -78,12 +78,6 @@ export const fetchProfile = function fetchProfile( } if (AppBskyActorProfile.isRecord(value)) { - const host = '.' + new URL(service).host - - if (handle.endsWith(host)) { - handle = handle.slice(0, -host.length) - } - onSuccess({ uri, handle, profile: value }) return { uri, value } } else {