Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

fix warning

Manav Rathic5cdaf3e0bfb
diff --git a/web/apps/photos/src/components/Collections/CollectionShare.tsx b/web/apps/photos/src/components/Collections/CollectionShare.tsx
index 7eb884393e..30320038db 100644
--- a/web/apps/photos/src/components/Collections/CollectionShare.tsx
+++ b/web/apps/photos/src/components/Collections/CollectionShare.tsx
@@ -208,16 +208,15 @@ function SharingDetails({ collection, type }) {
</RowButtonGroupTitle>
<RowButtonGroup>
{viewers.map((item, index) => (
- <>
+ <React.Fragment key={item}>
<RowLabel
- key={item}
label={isMe(item) ? t("you") : item}
startIcon={<Avatar email={item} />}
/>
{index !== viewers.length - 1 && (
<RowButtonDivider />
)}
- </>
+ </React.Fragment>
))}
</RowButtonGroup>
</Stack>