mirror of
https://github.com/lemeow125/Ivy-Frontend.git
synced 2024-11-16 22:29:24 +08:00
Polished product page
This commit is contained in:
parent
78b2b62137
commit
5b93ff241c
1 changed files with 1 additions and 0 deletions
|
@ -25,6 +25,7 @@ export default function Product() {
|
||||||
mutationFn: DeleteProduct,
|
mutationFn: DeleteProduct,
|
||||||
onSuccess: () => {
|
onSuccess: () => {
|
||||||
queryClient.invalidateQueries("products");
|
queryClient.invalidateQueries("products");
|
||||||
|
queryClient.invalidateQueries("product");
|
||||||
queryClient.invalidateQueries("logs");
|
queryClient.invalidateQueries("logs");
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue