remove own count

This commit is contained in:
Abhinav 2024-01-18 15:31:48 +05:30
parent f9c817873e
commit d258d58e5e
2 changed files with 0 additions and 5 deletions

View file

@ -10,7 +10,6 @@ import { formatNumber } from 'utils/number/format';
interface Props {
count: number;
ownCount: number;
clearSelection: () => void;
downloadFilesHelper: () => void;
}
@ -18,7 +17,6 @@ interface Props {
const SelectedFileOptions = ({
downloadFilesHelper,
count,
ownCount,
clearSelection,
}: Props) => {
const { isMobile } = useContext(AppContext);
@ -31,8 +29,6 @@ const SelectedFileOptions = ({
</IconButton>
<Box ml={1.5}>
{formatNumber(count)} {t('SELECTED')}{' '}
{ownCount !== count &&
`(${formatNumber(ownCount)} ${t('YOURS')})`}
</Box>
</FluidContainer>
<Stack spacing={2} direction="row" mr={2}>

View file

@ -599,7 +599,6 @@ export default function PublicCollectionGallery() {
downloadFilesHelper={downloadFilesHelper}
clearSelection={clearSelection}
count={selected.count}
ownCount={selected.ownCount}
/>
)}
</FullScreenDropZone>