diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-08-08 14:11:32 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-08-08 14:11:32 +0700 |
| commit | 079f8029445fdd243e267a4af7c7a4d5780afa24 (patch) | |
| tree | c167da48612454158d344d7c576cdcbbb3798749 /src/contexts | |
| parent | 6e36b0e78c7ac56c8b7d2f27a19838e9aaa9da98 (diff) | |
<iman> update pop up quotation & cart
Diffstat (limited to 'src/contexts')
| -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> |
