fix: allow initial page loading without manual click

pull/3347/head
TAKAHASHI Shuuji 2025-08-14 16:13:17 +09:00
rodzic c23e2cb8e2
commit 5b7f71a35a
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -18,7 +18,7 @@ export function usePaginator<T, P, U = T>(
const items = ref<U[]>([])
const nextItems = ref<U[]>([])
const prevItems = ref<T[]>([])
const canLoadMore = ref<boolean>(false)
const canLoadMore = ref<boolean>(true)
const endAnchor = ref<HTMLDivElement>()
const bound = useElementBounding(endAnchor)