Fix some key errors (#1951)

This commit is contained in:
Eric Bailey
2023-11-17 11:34:27 -06:00
committed by GitHub
parent c858b58307
commit 0dfc039a47
2 changed files with 10 additions and 5 deletions
+6 -1
View File
@@ -75,7 +75,12 @@ export function ProfileLists({
items = items.concat([EMPTY])
} else if (data?.pages) {
for (const page of data?.pages) {
items = items.concat(page.lists)
items = items.concat(
page.lists.map(l => ({
...l,
_reactKey: l.uri,
})),
)
}
}
if (isError && !isEmpty) {