remove unneeded properties from empty screen wrapper

This commit is contained in:
Abhinav 2023-02-21 18:47:05 +05:30
parent a0412263b1
commit 624ec08ccd

View file

@ -10,20 +10,15 @@ import FolderIcon from '@mui/icons-material/FolderOutlined';
import { UploadTypeSelectorIntent } from 'types/gallery'; import { UploadTypeSelectorIntent } from 'types/gallery';
const Wrapper = styled(Box)` const Wrapper = styled(Box)`
flex: 1;
display: flex; display: flex;
align-items: center;
justify-content: top;
flex-direction: column; flex-direction: column;
align-items: center;
text-align: center; text-align: center;
overflow: auto;
& > svg {
filter: drop-shadow(3px 3px 5px rgba(45, 194, 98, 0.5));
}
`; `;
const NonDraggableImage = styled('img')` const NonDraggableImage = styled('img')`
pointer-events: none; pointer-events: none;
`; `;
export default function EmptyScreen({ openUploader }) { export default function EmptyScreen({ openUploader }) {
const deduplicateContext = useContext(DeduplicateContext); const deduplicateContext = useContext(DeduplicateContext);
return deduplicateContext.isOnDeduplicatePage ? ( return deduplicateContext.isOnDeduplicatePage ? (