From 6ce2d840312a7fc4af968ef3342452d25fe902e2 Mon Sep 17 00:00:00 2001 From: keannu125 Date: Wed, 8 Mar 2023 23:41:45 +0800 Subject: [PATCH] Polished new product page --- src/Routes/NewProduct/NewProduct.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Routes/NewProduct/NewProduct.tsx b/src/Routes/NewProduct/NewProduct.tsx index 4b807c8..41a3f92 100644 --- a/src/Routes/NewProduct/NewProduct.tsx +++ b/src/Routes/NewProduct/NewProduct.tsx @@ -15,6 +15,7 @@ export default function NewProduct() { onSuccess: () => { queryClient.invalidateQueries("products"); queryClient.invalidateQueries("logs"); + queryClient.invalidateQueries("logs"); }, }); return (