diff options
| author | trisusilo48 <tri.susilo@altama.co.id> | 2024-11-13 14:47:56 +0700 |
|---|---|---|
| committer | trisusilo48 <tri.susilo@altama.co.id> | 2024-11-13 14:47:56 +0700 |
| commit | 2c74398c6f75de3b5620d6495d7701553b66eb40 (patch) | |
| tree | a6c48649d18ca56189ce621f823754db66d7a138 /src/lib/quotation/components/Quotation.jsx | |
| parent | 7966f67569d01c25f7a337962d7d0bb1a0c57808 (diff) | |
| parent | 399e7b149bd409e0b5a96fd8c6eaac4f23181ef0 (diff) | |
Merge branch 'new-release' into feature/integrasi_biteship
Diffstat (limited to 'src/lib/quotation/components/Quotation.jsx')
| -rw-r--r-- | src/lib/quotation/components/Quotation.jsx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/quotation/components/Quotation.jsx b/src/lib/quotation/components/Quotation.jsx index cf0ad41f..5a2f63a5 100644 --- a/src/lib/quotation/components/Quotation.jsx +++ b/src/lib/quotation/components/Quotation.jsx @@ -39,9 +39,12 @@ const { getProductsCheckout } = require('@/lib/checkout/api/checkoutApi'); const Quotation = () => { const router = useRouter(); const auth = useAuth(); + const query = router.query.source ?? null; const { data: cartCheckout } = useQuery('cartCheckout', () => - getProductsCheckout() + getProductsCheckout({ + source: query, + }) ); const { setRefreshCart } = useProductCartContext(); |
