feat: Refactor online drive components to improve file retrieval and selection logic

This commit is contained in:
twwu
2025-07-08 16:46:59 +08:00
parent 073a0974a4
commit b3431ab0c4
9 changed files with 100 additions and 56 deletions

View File

@ -52,7 +52,8 @@ const Datasets = ({
observerRef.current.observe(anchorRef.current)
}
return () => observerRef.current?.disconnect()
}, [anchorRef, datasetList, hasNextPage, fetchNextPage, isFetching])
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [anchorRef])
return (
<>