refactor: ♻️ Replace megalodon with @lysand-org/client

This commit is contained in:
Jesse Wierzbinski 2024-06-07 13:09:15 -10:00
parent 5c528e8d03
commit 0bd3237965
No known key found for this signature in database
41 changed files with 147 additions and 170 deletions

View file

@ -20,7 +20,7 @@ definePageMeta({
const element = ref<HTMLElement | null>(null);
const route = useRoute();
const client = useMegalodon();
const client = useClient();
const uuid = route.params.uuid as string;
const note = useNote(client, uuid);

View file

@ -15,7 +15,7 @@ definePageMeta({
});
const route = useRoute();
const client = useMegalodon(undefined, true);
const client = useClient(undefined, true);
const username = (route.params.username as string).replace("@", "");
const accounts = useAccountSearch(client, username);