summaryrefslogtreecommitdiff
path: root/src/contexts/ProductCartContext.js
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-09-04 09:50:46 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-09-04 09:50:46 +0700
commitcbdeecd2fb8770afe46a374292e6ed3e5ec48214 (patch)
tree9096b5d726b261f50222d9c50d8bb98c12cb6c4a /src/contexts/ProductCartContext.js
parent985f29aa1d9b8cbea49d25c30099f88c86bdc13f (diff)
parent702b5d9b6e215ad812fadaff3325e1e6164d3b24 (diff)
Merge branch 'Feature/new-cart-popup' into backup-release
Diffstat (limited to 'src/contexts/ProductCartContext.js')
-rw-r--r--src/contexts/ProductCartContext.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/contexts/ProductCartContext.js b/src/contexts/ProductCartContext.js
index 06e97563..3a21d2e0 100644
--- a/src/contexts/ProductCartContext.js
+++ b/src/contexts/ProductCartContext.js
@@ -6,10 +6,11 @@ export const ProductCartProvider = ({ children }) => {
const [productCart, setProductCart] = useState(null)
const [refreshCart, setRefreshCart] = useState(false)
const [isLoading, setIsloading] = useState(false)
+ const [productQuotation, setProductQuotation] = useState(null)
return (
<ProductCartContext.Provider
- value={{ productCart, setProductCart, refreshCart, setRefreshCart, isLoading, setIsloading }}
+ value={{ productCart, setProductCart, refreshCart, setRefreshCart, isLoading, setIsloading, productQuotation, setProductQuotation}}
>
{children}
</ProductCartContext.Provider>