Skip to content

armgit / ente

Public Imported from GitHub
0

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

Fix warning

Manav Rathi1b0ed23df902
diff --git a/web/apps/photos/src/components/Collections/CollectionShare.tsx b/web/apps/photos/src/components/Collections/CollectionShare.tsx
index bbbcc6a487..75bff3a74e 100644
--- a/web/apps/photos/src/components/Collections/CollectionShare.tsx
+++ b/web/apps/photos/src/components/Collections/CollectionShare.tsx
@@ -1678,10 +1678,9 @@ const ManageDeviceLimit: React.FC<ManageDeviceLimitProps> = ({
<Stack sx={{ gap: "32px", py: "20px", px: "8px" }}>
<RowButtonGroup>
{deviceLimitOptions.map((item, index) => (
- <>
+ <React.Fragment key={item.label}>
<RowButton
fontWeight="regular"
- key={item.label}
onClick={changeDeviceLimitValue(
item.value,
)}
@@ -1691,7 +1690,7 @@ const ManageDeviceLimit: React.FC<ManageDeviceLimitProps> = ({
deviceLimitOptions.length - 1 && (
<RowButtonDivider />
)}
- </>
+ </React.Fragment>
))}
</RowButtonGroup>
</Stack>