️(frontend) remove listener on hover with react-dropzone

React-dropzone was rerendering components on hover,
which was unnecessary. This commit removes the
rerendering by adapting its settings.
This commit is contained in:
Anthony LC
2026-05-04 15:04:08 +02:00
parent 7afa17a181
commit aa71cfdfc0

View File

@@ -109,6 +109,7 @@ export const useImport = ({ onDragOver }: UseImportProps) => {
});
},
noClick: true,
noKeyboard: true,
});
const { mutate: importDoc, isPending } = useImportDoc();