mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 20:30:33 +00:00
fix: add queryCache to delete item.
This commit is contained in:
@@ -103,6 +103,7 @@ function ItemsList({
|
||||
}),
|
||||
intent: Intent.SUCCESS,
|
||||
});
|
||||
queryCache.invalidateQueries('items-table');
|
||||
setDeleteItem(false);
|
||||
})
|
||||
.catch(({ errors }) => {
|
||||
|
||||
Reference in New Issue
Block a user