Skip to content

Commit 706e830

Browse files
Remove console logs
Signed-off-by: Natalia Luzuriaga <natalia.luzuriaga@cms.hhs.gov>
1 parent d179091 commit 706e830

File tree

3 files changed

+0
-7
lines changed

3 files changed

+0
-7
lines changed

index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
<script type="text/javascript">
2626
createFormComponents()
2727
.then((components) => {
28-
console.log(components, 'components');
2928
Formio.use(uswds);
3029
Formio.createForm(document.getElementById("formio"), {
3130
display: "form",

js/formDataToJson.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,6 @@ async function createProjectPR(event) {
290290
console.error("No API key found!");
291291
alert("No API Key in submitted data! Please provide an API key");
292292
}
293-
//console.log(codeJSONObj)
294293
}
295294

296295
// Triggers local file download

js/generateFormComponents.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ function determineType(field) {
6868
// Creates Form.io component based on json field type
6969
function createComponent(fieldName, fieldObject, requiredArray, prefix) {
7070
const componentType = determineType(fieldObject);
71-
console.log(componentType, "type determined");
7271
const validate = determineValidation(fieldName, fieldObject, requiredArray);
7372
const label = !validate.required && !prefix ? fieldName + " (optional)" : fieldName;
7473
switch (componentType) {
@@ -364,10 +363,6 @@ async function createFormComponents() {
364363
tableView: false,
365364
});
366365

367-
368-
369-
console.log(components);
370-
371366
return components;
372367
}
373368

0 commit comments

Comments
 (0)