Skip to content

Commit

Permalink
[@mantine/dropzone] Cleanup Dropzone.FullScreen onDragLeave logic
Browse files Browse the repository at this point in the history
  • Loading branch information
rtivital committed Sep 3, 2022
1 parent b119f68 commit d04cb00
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/mantine-dropzone/src/DropzoneFullScreen.tsx
Expand Up @@ -55,7 +55,6 @@ export const DropzoneFullScreen = forwardRef<HTMLDivElement, DropzoneFullScreenP
active,
onDrop,
onReject,
onDragLeave,
zIndex,
withinPortal,
...others
Expand Down Expand Up @@ -121,9 +120,6 @@ export const DropzoneFullScreen = forwardRef<HTMLDivElement, DropzoneFullScreenP
onReject?.(files);
close();
}}
onDragLeave={(event: any) => {
onDragLeave?.(event);
}}
/>
</Box>
</OptionalPortal>
Expand Down

0 comments on commit d04cb00

Please sign in to comment.