diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2024-08-08 07:12:21 +0000 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2024-08-08 07:12:21 +0000 |
| commit | 9468bb33e90badaad99d97df54c80da389c39093 (patch) | |
| tree | 78e6f75daf1111fa2d5d1c5b665c0845958b1fae /src/contexts/ProductCartContext.js | |
| parent | 1056bb941a642b3f173a036d5978cf79b94932b9 (diff) | |
| parent | 079f8029445fdd243e267a4af7c7a4d5780afa24 (diff) | |
Merged in Feature/new-cart-popup (pull request #223)
<iman> update pop up quotation & cart
Diffstat (limited to 'src/contexts/ProductCartContext.js')
| -rw-r--r-- | src/contexts/ProductCartContext.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/contexts/ProductCartContext.js b/src/contexts/ProductCartContext.js index 19889e07..3a21d2e0 100644 --- a/src/contexts/ProductCartContext.js +++ b/src/contexts/ProductCartContext.js @@ -4,14 +4,13 @@ const ProductCartContext = createContext() export const ProductCartProvider = ({ children }) => { const [productCart, setProductCart] = useState(null) - const [productQuotation, setProductQuotation] = useState(null) - const [refreshQuotation, setRefreshQuotation] = useState(false) 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, productQuotation, setProductQuotation, refreshQuotation, setRefreshQuotation }} + value={{ productCart, setProductCart, refreshCart, setRefreshCart, isLoading, setIsloading, productQuotation, setProductQuotation}} > {children} </ProductCartContext.Provider> |
