summaryrefslogtreecommitdiff
path: root/src/contexts
diff options
context:
space:
mode:
authortrisusilo48 <tri.susilo@altama.co.id>2024-09-06 16:30:09 +0700
committertrisusilo48 <tri.susilo@altama.co.id>2024-09-06 16:30:09 +0700
commite0cb6bc2d391288462f7f3600cc74a603d9323df (patch)
tree13a32ce0e78edf2fb5134b926a91dfb79e15172f /src/contexts
parent277f7eea312492c66ec8d942199dba65593e78b8 (diff)
parent969ca83a9adce96b3b58973654b29d3c2dd47a88 (diff)
Merge branch 'release' into CR/search_enggine
Diffstat (limited to 'src/contexts')
-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>