diff --git a/src/components/estimate/Estimate.jsx b/src/components/estimate/Estimate.jsx index e506b6a2..662b63ca 100644 --- a/src/components/estimate/Estimate.jsx +++ b/src/components/estimate/Estimate.jsx @@ -127,6 +127,11 @@ export default function Estimate({ params }) { setEstimateContextState({ estimateDate: estimateDate }) }, [startDate]) + //API데이터로 견적일 셋팅 + useEffect(() => { + setStartDate(estimateContextState?.estimateDate) + }, [estimateContextState?.estimateDate]) + useEffect(() => { //선택된 견적특이사항 setEstimateContextState if (isNotEmptyArray(specialNoteList)) {