summaryrefslogtreecommitdiff
path: root/src/contexts
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2024-09-04 03:00:30 +0000
committertrisusilo <tri.susilo@altama.co.id>2024-09-04 03:00:30 +0000
commit69c9ecc99c487c16129f5dcb66c4775453589220 (patch)
tree7aead541e26b5166ae3d2049fc732c7030e4e9c6 /src/contexts
parent985f29aa1d9b8cbea49d25c30099f88c86bdc13f (diff)
parentf6a398c036d2ab833ecb798fa88e641e2f801bb0 (diff)
Merged in backup-release (pull request #289)
Backup release Approved-by: trisusilo
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>