π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
remove unneeded nesting
Abhinavaaf1a8d3b52e
diff --git a/apps/photos/src/components/Collections/CollectionInfoWithOptions.tsx b/apps/photos/src/components/Collections/CollectionInfoWithOptions.tsxindex 5b158af162..3a35111641 100644--- a/apps/photos/src/components/Collections/CollectionInfoWithOptions.tsx+++ b/apps/photos/src/components/Collections/CollectionInfoWithOptions.tsx@@ -53,22 +53,20 @@ export default function CollectionInfoWithOptions({};return (- <>- <CollectionInfoBarWrapper>- <SpaceBetweenFlex>- <CollectionInfo- name={name}- fileCount={fileCount}- endIcon={<EndIcon type={type} />}+ <CollectionInfoBarWrapper>+ <SpaceBetweenFlex>+ <CollectionInfo+ name={name}+ fileCount={fileCount}+ endIcon={<EndIcon type={type} />}+ />+ {shouldShowOptions(type) && (+ <CollectionOptions+ {...props}+ collectionSummaryType={type}/>- {shouldShowOptions(type) && (- <CollectionOptions- {...props}- collectionSummaryType={type}- />- )}- </SpaceBetweenFlex>- </CollectionInfoBarWrapper>- </>+ )}+ </SpaceBetweenFlex>+ </CollectionInfoBarWrapper>);}