diff options
author | Eric Bailey <git@esb.lol> | 2023-11-17 11:34:27 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-17 11:34:27 -0600 |
commit | 0dfc039a471d76c42610abe2c497fdf0c4785585 (patch) | |
tree | 55f0eb60fb2a59a6f3f09fa95adb611a8bebbce5 /src/view/com/lists | |
parent | c858b583072d7858f50ee0d56bb76dbce5a9c13d (diff) | |
download | voidsky-0dfc039a471d76c42610abe2c497fdf0c4785585.tar.zst |
Fix some key errors (#1951)
Diffstat (limited to 'src/view/com/lists')
-rw-r--r-- | src/view/com/lists/ProfileLists.tsx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/view/com/lists/ProfileLists.tsx b/src/view/com/lists/ProfileLists.tsx index ed42a2607..692891e47 100644 --- a/src/view/com/lists/ProfileLists.tsx +++ b/src/view/com/lists/ProfileLists.tsx @@ -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) { |