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:
Thaïs
2024-01-30 08:26:05 -03:00
committed by GitHub
parent a012ba1087
commit 0bfc63161b

View File

@ -64,5 +64,5 @@ export const triggerDeleteRecordsOptimisticEffect = ({
},
});
records.forEach((record) => cache.evict({ id: cache.identify(record) }));
cache.gc();
};