cleared build warnings and format console message

This commit is contained in:
2022-10-18 11:52:55 +01:00
parent 748ecec313
commit 6be6a02101
3 changed files with 10 additions and 26 deletions
+9 -3
View File
@@ -40,7 +40,11 @@ export const createContainer = async (containerName) => {
// console.log(`- ${container.name}`);
// }
console.log("\n//////////////////\n container name :", containerName);
console.log(
"\n//////////////////\n container name :",
containerName,
"\n//////////////////\n"
);
return containerName;
};
@@ -271,7 +275,9 @@ export const downloadAllProgressFiles = async (
progressBlobObj
) => {
console.log(
"/////////////////////////\n downloading files: " + progressBlobObj
"/////////////////////////\n downloading files: " +
progressBlobObj +
"\n/////////////////////////\n"
);
const creds = new DefaultAzureCredential();
@@ -495,7 +501,7 @@ export const getAllProgressBlobs = async (containerName) => {
});
}
console.log("blobObj:", blobObj);
//console.log("blobObj:", blobObj);
return blobObj;
};
+1 -1
View File
@@ -457,7 +457,7 @@ let AboutYou = (props) => {
useEffect(() => {
handlePartialUpdate();
}, [appellantAgentValue]);
});
return (
<form onSubmit={handleSubmit(onHandleSubmit)}>
-22
View File
@@ -27,28 +27,6 @@ let BuildSection = (props) => {
const [savingStatus, setSavingStatus] = useState(false);
useEffect(() => {
progObj = getProgressObj(
formXML,
titleList,
mandatoryFieldsData,
props
);
// const lastIndex = progObj
// .map((whichIsLast) => whichIsLast.allFieldsComplete == true)
// .lastIndexOf(true);
// setCurrentSection(currentSectionSelected + 1);
// pickupWhereLeftOff == true && setCurrentSection(lastIndex + 1),
// setPickupWhereLeftOff(false);
// // lastIndex != currentSectionSelected
// // ? (setCurrentSectionSelected(lastIndex),
// // setPickupWhereLeftOff(true))
// // : setPickupWhereLeftOff(false);
});
let { t } = useTranslation();
const router = useRouter();