From 5aa81a0879b5f00440810e0f3600b281b1b7f98a Mon Sep 17 00:00:00 2001 From: Enilson Silva Date: Thu, 29 Feb 2024 16:41:35 -0300 Subject: [PATCH 1/2] fix: update shipping simulation --- .decofile.json | 2 +- components/ui/ShippingSimulation.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.decofile.json b/.decofile.json index 628b553e..f0aee146 100644 --- a/.decofile.json +++ b/.decofile.json @@ -1 +1 @@ -{"Home2":{"name":"tavano"}} \ No newline at end of file +{ "Home2": { "name": "tavano" } } diff --git a/components/ui/ShippingSimulation.tsx b/components/ui/ShippingSimulation.tsx index 93a18e60..3086acdd 100644 --- a/components/ui/ShippingSimulation.tsx +++ b/components/ui/ShippingSimulation.tsx @@ -89,7 +89,7 @@ function ShippingSimulation({ items }: Props) { } finally { loading.value = false; } - }, []); + }, [items]); return (
From e86d9d971282c5ad7f48bc1ab28749c63d941e18 Mon Sep 17 00:00:00 2001 From: guitavano Date: Fri, 1 Mar 2024 13:32:19 -0300 Subject: [PATCH 2/2] Update components/ui/ShippingSimulation.tsx --- components/ui/ShippingSimulation.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/ui/ShippingSimulation.tsx b/components/ui/ShippingSimulation.tsx index 3086acdd..1e7640ef 100644 --- a/components/ui/ShippingSimulation.tsx +++ b/components/ui/ShippingSimulation.tsx @@ -89,7 +89,7 @@ function ShippingSimulation({ items }: Props) { } finally { loading.value = false; } - }, [items]); + }, [items, postalCode.value]); return (