import { Accessor, createResource } from "solid-js"; import type { mastodon } from "masto"; export function useAcctProfile(client: Accessor) { return createResource(client, (client) => { return client.v1.accounts.verifyCredentials() }, { name: "MastodonAccountProfile" }) }