remove console.logs
This commit is contained in:
parent
df6924c73e
commit
ca1bb8dd36
4 changed files with 0 additions and 7 deletions
|
|
@ -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[] } = {
|
||||
|
|
|
|||
|
|
@ -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]);
|
||||
|
||||
|
|
|
|||
|
|
@ -1244,7 +1244,6 @@ export function extractFieldsFromComponenents(data:APIObjectType ) {
|
|||
});
|
||||
});
|
||||
});
|
||||
console.log(fields);
|
||||
return fields;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue