summaryrefslogtreecommitdiff
path: root/src/contexts
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-08-08 14:11:32 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-08-08 14:11:32 +0700
commit079f8029445fdd243e267a4af7c7a4d5780afa24 (patch)
treec167da48612454158d344d7c576cdcbbb3798749 /src/contexts
parent6e36b0e78c7ac56c8b7d2f27a19838e9aaa9da98 (diff)
<iman> update pop up quotation & cart
Diffstat (limited to 'src/contexts')
-rw-r--r--src/contexts/ProductCartContext.js5
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>