diff --git a/apps/widget/src/components/widget/Phases/Phase3/Phase3.tsx b/apps/widget/src/components/widget/Phases/Phase3/Phase3.tsx index e8df36f16..335ef3049 100644 --- a/apps/widget/src/components/widget/Phases/Phase3/Phase3.tsx +++ b/apps/widget/src/components/widget/Phases/Phase3/Phase3.tsx @@ -42,6 +42,7 @@ export function Phase3(props: IPhase3Props) { isDoReviewLoading, isReviewDataLoading, showAllDataValidModal, + isDeleteRecordLoading, isConfirmReviewLoading, setShowAllDataValidModal, } = usePhase3({ onNext: onNextClick }); @@ -66,7 +67,9 @@ export function Phase3(props: IPhase3Props) { return ( <> - + { const name = String(prop).replace('record.', ''); let formattedNewVal = newVal; - if (typeof newVal === null) formattedNewVal = ''; + if (typeof newVal === 'object' || newVal === null) formattedNewVal = undefined; const currentData = [...reviewData]; if (currentData && oldVal != formattedNewVal) {