remove unneccesary showCollectionSelector prop

This commit is contained in:
abhinav-grd 2021-09-21 11:37:03 +05:30
parent 6c597570d1
commit d8230155fc
2 changed files with 1 additions and 6 deletions

View file

@ -39,7 +39,6 @@ const Overlay = styled.div`
type Props = React.PropsWithChildren<{
getRootProps: any;
getInputProps: any;
showCollectionSelector;
}>;
export default function FullScreenDropZone(props: Props) {

View file

@ -427,11 +427,7 @@ export default function Gallery() {
<GalleryContext.Provider value={defaultGalleryContext}>
<FullScreenDropZone
getRootProps={getRootProps}
getInputProps={getInputProps}
showCollectionSelector={setCollectionSelectorView.bind(
null,
true
)}>
getInputProps={getInputProps}>
{loading && (
<LoadingOverlay>
<EnteSpinner />