mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-22 23:30:10 +00:00
Merge pull request #1035 from junedkhatri31/master
fix: Double window opening on image selection
This commit is contained in:
commit
eaacaf7489
@ -84,6 +84,7 @@ const FilePicker: FunctionComponent<ComponentProps> = (
|
||||
const { getRootProps, getInputProps } = useDropzone({
|
||||
accept: acceptTypes,
|
||||
multiple: props.isMultiFilePicker,
|
||||
noClick: true,
|
||||
onDrop: async (acceptedFiles: Array<File>) => {
|
||||
setIsLoading(true);
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user