mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 08:46:22 +02:00
lazy loading fix for useDocument
This commit is contained in:
parent
cf162101a6
commit
d8797b4f71
2 changed files with 3 additions and 2 deletions
|
|
@ -42,7 +42,8 @@ const DocumentSelector = React.memo(
|
|||
const [isOpen, setIsOpen] = useState(false);
|
||||
|
||||
const { documents, loading, isLoaded, fetchDocuments } = useDocuments(
|
||||
Number(search_space_id)
|
||||
Number(search_space_id),
|
||||
true
|
||||
);
|
||||
|
||||
const handleOpenChange = useCallback(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue