diff options
| author | trisusilo48 <tri.susilo@altama.co.id> | 2025-04-28 08:46:44 +0700 |
|---|---|---|
| committer | trisusilo48 <tri.susilo@altama.co.id> | 2025-04-28 08:46:44 +0700 |
| commit | 5077cf5ac59e15529de1abab43b4a49a4722bd2d (patch) | |
| tree | 8b2fa57ae944a60b32d96e8078575c4d9a033ef6 /src-migrate/modules | |
| parent | 71ca9d6c85871b6bcb2976ed4911032aab4d32e7 (diff) | |
handlig cache sla pengiriman
Diffstat (limited to 'src-migrate/modules')
| -rw-r--r-- | src-migrate/modules/product-detail/components/Information.tsx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src-migrate/modules/product-detail/components/Information.tsx b/src-migrate/modules/product-detail/components/Information.tsx index d1f1e852..a7a58cbc 100644 --- a/src-migrate/modules/product-detail/components/Information.tsx +++ b/src-migrate/modules/product-detail/components/Information.tsx @@ -66,10 +66,14 @@ const Information = ({ product }: Props) => { }, [selectedVariant]); useEffect(() => { + if (isLoading){ + setSla(null); + } if (slaVariant) { setSla(slaVariant); } - }, [slaVariant]); + }, [slaVariant, isLoading]); + const handleOnChange = (vals: any) => { setDisableFilter(true); |
