Fix key issue
This commit is contained in:
@@ -193,10 +193,16 @@ function Feed() {
|
|||||||
let vids =
|
let vids =
|
||||||
data?.pages
|
data?.pages
|
||||||
.map(page => {
|
.map(page => {
|
||||||
const items = []
|
const items: {
|
||||||
|
_reactKey: string
|
||||||
|
moderation: ModerationDecision
|
||||||
|
post: AppBskyFeedDefs.PostView
|
||||||
|
feedContext: string | undefined
|
||||||
|
}[] = []
|
||||||
for (const slice of page.slices) {
|
for (const slice of page.slices) {
|
||||||
for (const i of slice.items) {
|
for (const i of slice.items) {
|
||||||
items.push({
|
items.push({
|
||||||
|
_reactKey: i._reactKey,
|
||||||
moderation: i.moderation,
|
moderation: i.moderation,
|
||||||
post: i.post,
|
post: i.post,
|
||||||
feedContext: slice.feedContext,
|
feedContext: slice.feedContext,
|
||||||
|
|||||||
Reference in New Issue
Block a user