diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-11-13 16:11:09 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-11-13 16:11:09 +0700 |
| commit | c873a401f0ea13e1881278e7977d4013d3a87394 (patch) | |
| tree | 5474f90a5e2530f3d3fae38a0a9876fd20bd2c00 /src/lib/quotation/components/Quotation.jsx | |
| parent | b9e64c111f21ac32466fa2a0f095df83ff111252 (diff) | |
| parent | 66e990de0a552cbc63e2db0e9e93c84520a806f2 (diff) | |
Merge branch 'new-release' into Feature/pengajuan-tempo
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(); |
