π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Fix type
Manav Rathidbb376056d9b
diff --git a/web/packages/new/photos/pages/duplicates.tsx b/web/packages/new/photos/pages/duplicates.tsxindex 8847e38420..6a94866379 100644--- a/web/packages/new/photos/pages/duplicates.tsx+++ b/web/packages/new/photos/pages/duplicates.tsx@@ -374,35 +374,37 @@ const NoDuplicatesFound: React.FC = () => (</CenteredFill>);-type DuplicatesProps = DuplicatesListProps & DeduplicateButtonProps;+type DuplicatesProps = Pick<+ DuplicatesListProps,+ "duplicateGroups" | "onToggleSelection"+> &+ DeduplicateButtonProps;const Duplicates: React.FC<DuplicatesProps> = ({duplicateGroups,onToggleSelection,...deduplicateButtonProps-}) => {- return (- <Stack sx={{ flex: 1 }}>- <Box sx={{ flex: 1, overflow: "hidden", paddingBlock: 1 }}>- <Autosizer>- {({ width, height }) => (- <DuplicatesList- {...{- width,- height,- duplicateGroups,- onToggleSelection,- }}- />- )}- </Autosizer>- </Box>- <Stack sx={{ margin: 1 }}>- <DeduplicateButton {...deduplicateButtonProps} />- </Stack>+}) => (+ <Stack sx={{ flex: 1 }}>+ <Box sx={{ flex: 1, overflow: "hidden", paddingBlock: 1 }}>+ <Autosizer>+ {({ width, height }) => (+ <DuplicatesList+ {...{+ width,+ height,+ duplicateGroups,+ onToggleSelection,+ }}+ />+ )}+ </Autosizer>+ </Box>+ <Stack sx={{ margin: 1 }}>+ <DeduplicateButton {...deduplicateButtonProps} /></Stack>- );-};+ </Stack>+);interface DuplicatesListProps {/**