️(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-05 10:53:39 +02:00
parent 7afa17a181
commit aa71cfdfc0
@@ -109,6 +109,7 @@ export const useImport = ({ onDragOver }: UseImportProps) => {
});
},
noClick: true,
noKeyboard: true,
});
const { mutate: importDoc, isPending } = useImportDoc();