mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 08:46:22 +02:00
chore: biome & ruff checks
This commit is contained in:
parent
35a7427b00
commit
898fc884a9
5 changed files with 30 additions and 38 deletions
|
|
@ -40,13 +40,10 @@ const DocumentSelector = React.memo(
|
|||
const { search_space_id } = useParams();
|
||||
const [isOpen, setIsOpen] = useState(false);
|
||||
|
||||
const { documents, loading, isLoaded, fetchDocuments } = useDocuments(
|
||||
Number(search_space_id),
|
||||
{
|
||||
lazy: true,
|
||||
pageSize: -1, // Fetch all documents with large page size
|
||||
}
|
||||
);
|
||||
const { documents, loading, isLoaded, fetchDocuments } = useDocuments(Number(search_space_id), {
|
||||
lazy: true,
|
||||
pageSize: -1, // Fetch all documents with large page size
|
||||
});
|
||||
|
||||
const handleOpenChange = useCallback(
|
||||
(open: boolean) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue