fix: add queryCache to delete item.

This commit is contained in:
elforjani3
2021-01-02 16:24:49 +02:00
parent ed4c49883c
commit 6a8bfd998d

View File

@@ -103,6 +103,7 @@ function ItemsList({
}),
intent: Intent.SUCCESS,
});
queryCache.invalidateQueries('items-table');
setDeleteItem(false);
})
.catch(({ errors }) => {