chore: add skip cache requesting

This commit is contained in:
Steven
2023-12-22 20:30:28 +08:00
parent 5673e29e51
commit b2ec0d1217
5 changed files with 13 additions and 11 deletions

View File

@ -19,7 +19,7 @@ const RelationListView = (props: Props) => {
const requests = relationList
.filter((relation) => relation.type === MemoRelation_Type.REFERENCE)
.map(async (relation) => {
return await memoStore.getOrFetchMemoById(relation.relatedMemoId);
return await memoStore.getOrFetchMemoById(relation.relatedMemoId, { skipStore: true });
});
const list = await Promise.all(requests);
setReferencingMemoList(list);