remove console.logs

This commit is contained in:
anovazzi1 2024-04-30 14:21:51 -03:00
commit ca1bb8dd36
4 changed files with 0 additions and 7 deletions

View file

@ -27,9 +27,6 @@ export default function AddNewVariableButton({ children }): JSX.Element {
const addGlobalVariable = useGlobalVariablesStore(
(state) => state.addGlobalVariable
);
console.log(componentFields);
console.log(unavaliableFields);
console.log(availableFields);
function handleSaveVariable() {
let data: { name: string; value: string; type?: string; default_fields?: string[] } = {

View file

@ -43,7 +43,6 @@ export default function GlobalVariablesPage() {
name: string;default_fields:string | undefined}> = [];
globalVariablesEntries.forEach((e) => {
const globalVariableObj = globalVariables[e];
console.log(globalVariableObj);
rows.push({
type: globalVariableObj.type,
id: globalVariableObj.id,
@ -51,7 +50,6 @@ export default function GlobalVariablesPage() {
name: e,
});
});
console.log(rows);
setRowData(rows);
}, [globalVariables]);

View file

@ -1244,7 +1244,6 @@ export function extractFieldsFromComponenents(data:APIObjectType ) {
});
});
});
console.log(fields);
return fields;
}

View file

@ -94,7 +94,6 @@ export function toTitleCase(
export function getUnavailableFields(
variables:{[key: string]: { id: string; type: string,default_fields:string[] }}
): Set<string> {
console.log(variables)
const set = new Set<string>();
Object.keys(variables).forEach((key) => {
if(variables[key].default_fields){