|
|
@@ -76,6 +76,7 @@ const FormPanel = ({ formData }) => { |
|
|
|
if (responseData.data.detail) { |
|
|
|
setWarningText("Unable to calculate, please upload a valid document or input manually."); |
|
|
|
setIsWarningPopUp(true); |
|
|
|
setWait(false); |
|
|
|
return; |
|
|
|
} |
|
|
|
formik.setFieldValue("length", responseData.data.length); |
|
|
@@ -195,7 +196,7 @@ const FormPanel = ({ formData }) => { |
|
|
|
{ |
|
|
|
wait ? |
|
|
|
<Grid item xs={12} md={12}> |
|
|
|
Doing calculate, please wait ... |
|
|
|
<Typography variant="h3" style={{color: "blue" }}>Calculating, please wait ...</Typography> |
|
|
|
</Grid> |
|
|
|
: |
|
|
|
<Grid item xs={12} md={12}> |
|
|
|