summaryrefslogtreecommitdiff
path: root/src/contexts/ProductQuotationContext.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/contexts/ProductQuotationContext.js')
-rw-r--r--src/contexts/ProductQuotationContext.js17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/contexts/ProductQuotationContext.js b/src/contexts/ProductQuotationContext.js
deleted file mode 100644
index f9e17830..00000000
--- a/src/contexts/ProductQuotationContext.js
+++ /dev/null
@@ -1,17 +0,0 @@
-import React, { createContext, useContext, useState } from 'react';
-
-const ProductQuotationContext = createContext();
-
-export const useProductQuotationContext = () => useContext(ProductQuotationContext);
-
-export const ProductQuotationProvider = ({ children }) => {
- const [productQuotation, setProductQuotation] = useState([]);
- const [refreshQuotation, setRefreshQuotation] = useState(false);
- const [isLoading, setIsloading] = useState(false);
-
- return (
- <ProductQuotationContext.Provider value={{ productQuotation, setProductQuotation, refreshQuotation, setRefreshQuotation, isLoading, setIsloading }}>
- {children}
- </ProductQuotationContext.Provider>
- );
-};