Fix some key errors (#1951)
This commit is contained in:
parent
c858b58307
commit
0dfc039a47
2 changed files with 10 additions and 5 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue