diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2024-11-12 07:36:02 +0000 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2024-11-12 07:36:02 +0000 |
| commit | efc1ab22528dac05d3ad89a7506349eb3b553539 (patch) | |
| tree | 31a7b3583fd41058d75f46efb66fb40087347e3a /src/lib/quotation/components | |
| parent | bf668785232e2d7abba1660dfdb6eb2746adc09a (diff) | |
| parent | 584e3fd7f4d33992046557ba18ee8eeac993e650 (diff) | |
Merged in CR/new_product_detail (pull request #378)
CR/new product detail
Diffstat (limited to 'src/lib/quotation/components')
| -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(); |
