remove unneccesary showCollectionSelector prop
This commit is contained in:
parent
6c597570d1
commit
d8230155fc
|
@ -39,7 +39,6 @@ const Overlay = styled.div`
|
|||
type Props = React.PropsWithChildren<{
|
||||
getRootProps: any;
|
||||
getInputProps: any;
|
||||
showCollectionSelector;
|
||||
}>;
|
||||
|
||||
export default function FullScreenDropZone(props: Props) {
|
||||
|
|
|
@ -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 />
|
||||
|
|
Loading…
Reference in a new issue