From 40c461e150376e1d10c6f84716b5c94622fb6ace Mon Sep 17 00:00:00 2001 From: Julien Calixte Date: Tue, 17 Mar 2026 00:53:58 +0100 Subject: [PATCH] chore: move api to remanso.space --- src/hooks/useFollowingNoteList.hook.ts | 14 ++++++++++---- src/hooks/usePublicNoteList.hook.ts | 2 +- src/modules/post/data/client.ts | 2 +- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/src/hooks/useFollowingNoteList.hook.ts b/src/hooks/useFollowingNoteList.hook.ts index b9cd3e2..1358d2d 100644 --- a/src/hooks/useFollowingNoteList.hook.ts +++ b/src/hooks/useFollowingNoteList.hook.ts @@ -3,11 +3,16 @@ import { PublicNoteListItem } from "@/modules/note/models/Note" import { computedAsync } from "@vueuse/core" import { computed, ref, Ref, watch } from "vue" -export function useFollowingNoteList(dids: Ref>, enabled: Ref) { +export function useFollowingNoteList( + dids: Ref>, + enabled: Ref, +) { const isLoading = ref(false) const notes = ref([]) const cursor = ref(null) - const canLoadMore = computed(() => dids.value.size > 0 && cursor.value !== undefined) + const canLoadMore = computed( + () => dids.value.size > 0 && cursor.value !== undefined, + ) const onLoadMore = async () => { if (isLoading.value) return @@ -24,13 +29,14 @@ export function useFollowingNoteList(dids: Ref>, enabled: Ref