fix: Flash of empty state on paginated lists (#3351)

* fix: Flash of empty state on paginated lists
fix: Typing of PaginatedList to generic

* test

* test
This commit is contained in:
Tom Moor
2022-04-09 20:31:51 -07:00
committed by GitHub
parent 9281287dba
commit b7a6a34565
39 changed files with 202 additions and 140 deletions

View File

@@ -408,6 +408,7 @@ export default class DocumentsStore extends BaseStore<Document> {
return null;
}
return {
id: document.id,
ranking: result.ranking,
context: result.context,
document,