Go back to content-driven slice keys in feeds (#2190)
* Go back to deterministic react keys * Quick fix to cases when custom feeds serve empty responses
This commit is contained in:
parent
90647fe7cf
commit
870505cbe2
2 changed files with 11 additions and 11 deletions
|
@ -37,7 +37,7 @@ export class CustomFeedAPI implements FeedAPI {
|
|||
res.data.feed = res.data.feed.slice(0, limit)
|
||||
}
|
||||
return {
|
||||
cursor: res.data.cursor,
|
||||
cursor: res.data.feed.length ? res.data.cursor : undefined,
|
||||
feed: res.data.feed,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue