diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-09-04 09:50:46 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-09-04 09:50:46 +0700 |
| commit | cbdeecd2fb8770afe46a374292e6ed3e5ec48214 (patch) | |
| tree | 9096b5d726b261f50222d9c50d8bb98c12cb6c4a /src/contexts/ProductCartContext.js | |
| parent | 985f29aa1d9b8cbea49d25c30099f88c86bdc13f (diff) | |
| parent | 702b5d9b6e215ad812fadaff3325e1e6164d3b24 (diff) | |
Merge branch 'Feature/new-cart-popup' into backup-release
Diffstat (limited to 'src/contexts/ProductCartContext.js')
| -rw-r--r-- | src/contexts/ProductCartContext.js | 3 |
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> |
