summaryrefslogtreecommitdiff
path: root/src/contexts/ProductCartContext.js
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-09-23 09:22:29 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-09-23 09:22:29 +0700
commitc13bb5c6f78032695b24cf8a6c23942eb465c6d5 (patch)
treee48c1ab39a61fd5702f578fbfdb7a7375cc1ce43 /src/contexts/ProductCartContext.js
parent870bede9df9920b23f2e5cb771ff5ae6448e3ac7 (diff)
parent4bd29979c34c1ec3b31dd384829b008eb726769c (diff)
Merge branch 'Feature/new-register' into Feature/switch-account
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>