Polished product page

This commit is contained in:
keannu125 2023-03-08 23:39:41 +08:00
parent 78b2b62137
commit 5b93ff241c

View file

@ -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");
}, },
}); });