fix warning

This commit is contained in:
Manav Rathi
2025-05-16 21:27:15 +05:30
parent 61f1cd6952
commit c5cdaf3e0b

View File

@@ -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>