diff --git a/src/hooks/floorPlan/estimate/useEstimateController.js b/src/hooks/floorPlan/estimate/useEstimateController.js index c9bfa59c..de5fe873 100644 --- a/src/hooks/floorPlan/estimate/useEstimateController.js +++ b/src/hooks/floorPlan/estimate/useEstimateController.js @@ -47,8 +47,7 @@ export const useEstimateController = (planNo) => { const { promiseGet, get, post, promisePost } = useAxios(globalLocaleState) const [isLoading, setIsLoading] = useState(false) - // const [state, setState] = useReducer(reducer, defaultEstimateData) - const { estimateContextState, setEstimateContextState } = useContext(FloorPlanContext) + const [state, setState] = useReducer(reducer, defaultEstimateData) const [newState, setNewState] = useState({}) useEffect(() => {