diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-11-06 15:45:42 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-11-06 15:45:42 +0700 |
| commit | 640c86b03f866f8fd3e2254d4611a3faf53386b4 (patch) | |
| tree | 3f4758f99df65a73fb9b1f6724f4e5996d104297 /src/lib/quotation | |
| parent | f7a32dbccbdefd478ed6bd6190bd4fa395eda720 (diff) | |
| parent | 1205b935f2a88629b6861ab083cbe70c58cb56c7 (diff) | |
Merge branch 'Feature/penawaran-instan' into CR/new_product_detail
Diffstat (limited to 'src/lib/quotation')
| -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(); |
