Skip to content

Commit eb76fd7

Browse files
committed
handle leaflet facet conversion
1 parent 48fe849 commit eb76fd7

4 files changed

Lines changed: 179 additions & 125 deletions

File tree

src/components/profileIcon.ts

Lines changed: 0 additions & 72 deletions
This file was deleted.

src/lib.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Record } from "@atcute/atproto/types/repo/listRecords";
22

3-
export { getRecord, deleteRecord, putRecord, getProfile } from "./lib/atproto";
3+
export { getRecord, deleteRecord, putRecord} from "./lib/atproto";
44

55
export {
66
getSembleCollections,

src/lib/atproto.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,3 @@ export async function putRecord<T = unknown>(client: Client, repo: string, colle
4242
}
4343
}
4444

45-
export async function getProfile(client: Client, actor: string) {
46-
return await client.get("app.bsky.actor.getProfile", {
47-
params: { actor: actor as ActorIdentifier },
48-
});
49-
}

0 commit comments

Comments
 (0)