fix: fix delete records optimistic effect not re-rendering queries af… (#3690)
fix: fix delete records optimistic effect not re-rendering queries after cache.evict
This commit is contained in:
@ -64,5 +64,5 @@ export const triggerDeleteRecordsOptimisticEffect = ({
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
records.forEach((record) => cache.evict({ id: cache.identify(record) }));
|
cache.gc();
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user