fix: paginator load next

zio/stable
Anthony Fu 2022-11-30 09:45:42 +08:00
parent a6406abc52
commit c9731f787d
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ export function usePaginator<T>(paginator: Paginator<any, T[]>, stream?: WsEvent
}, 1000) }, 1000)
watch( watch(
() => isInScreen, () => [isInScreen, state],
() => { () => {
if ( if (
isInScreen isInScreen