summaryrefslogtreecommitdiff
path: root/src/lib/quotation/components
diff options
context:
space:
mode:
authortrisusilo48 <tri.susilo@altama.co.id>2024-11-13 14:47:56 +0700
committertrisusilo48 <tri.susilo@altama.co.id>2024-11-13 14:47:56 +0700
commit2c74398c6f75de3b5620d6495d7701553b66eb40 (patch)
treea6c48649d18ca56189ce621f823754db66d7a138 /src/lib/quotation/components
parent7966f67569d01c25f7a337962d7d0bb1a0c57808 (diff)
parent399e7b149bd409e0b5a96fd8c6eaac4f23181ef0 (diff)
Merge branch 'new-release' into feature/integrasi_biteship
Diffstat (limited to 'src/lib/quotation/components')
-rw-r--r--src/lib/quotation/components/Quotation.jsx5
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();