()
| 124 | // eslint-disable-next-line react-hooks/exhaustive-deps |
| 125 | }, []); |
| 126 | const initializeValues = async () => { |
| 127 | try { |
| 128 | setFormData((obj) => ({ |
| 129 | ...obj, |
| 130 | NotifyOnSignatures: true, |
| 131 | SendinOrder: sendinorder, |
| 132 | IsTourEnabled: istourenabled, |
| 133 | })); |
| 134 | } finally { |
| 135 | setIsInitializing(false); |
| 136 | } |
| 137 | }; |
| 138 | |
| 139 | // `removeFile` is used to reset progress, percentage and remove file if exists |
| 140 | const removeFile = (e) => { |