chore: add uids to download items

This commit is contained in:
Adrian Castro
2024-03-20 17:55:26 +01:00
parent f1fc6a9063
commit bc9116237f
2 changed files with 5 additions and 3 deletions

View File

@@ -11,8 +11,8 @@ const DownloadsScreen: React.FC = () => {
return (
<ScreenLayout title="Downloads">
<ScrollView>
{downloads.map((item, index) => (
<DownloadItem key={index} {...item} />
{downloads.map((item) => (
<DownloadItem key={item.id} {...item} />
))}
</ScrollView>
</ScreenLayout>