diff --git a/src/Routes/Product/Product.tsx b/src/Routes/Product/Product.tsx index a4bd8bf..f26a575 100644 --- a/src/Routes/Product/Product.tsx +++ b/src/Routes/Product/Product.tsx @@ -25,6 +25,7 @@ export default function Product() { mutationFn: DeleteProduct, onSuccess: () => { queryClient.invalidateQueries("products"); + queryClient.invalidateQueries("product"); queryClient.invalidateQueries("logs"); }, });