Remove console logs
This commit is contained in:
Vendored
-6
@@ -30824,7 +30824,6 @@
|
|||||||
return numberFormatter ? numberFormatter.format(number) : number.toString();
|
return numberFormatter ? numberFormatter.format(number) : number.toString();
|
||||||
}
|
}
|
||||||
function processNumberEvent(ev, cb) {
|
function processNumberEvent(ev, cb) {
|
||||||
console.error(ev, ev.target.value);
|
|
||||||
ev.preventDefault();
|
ev.preventDefault();
|
||||||
ev.stopPropagation();
|
ev.stopPropagation();
|
||||||
if (ev.target.value === "") {
|
if (ev.target.value === "") {
|
||||||
@@ -35655,8 +35654,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
|
||||||
console.error("Missing reference");
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -36864,11 +36861,8 @@
|
|||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
this.props.store.on(7 /* Any */, this.update);
|
this.props.store.on(7 /* Any */, this.update);
|
||||||
this.update();
|
this.update();
|
||||||
console.error(this.STORAGE_KEY);
|
|
||||||
this.props.storage.getItem(this.STORAGE_KEY).then((data) => {
|
this.props.storage.getItem(this.STORAGE_KEY).then((data) => {
|
||||||
console.error(data, this.STORAGE_KEY, data !== null, !this.destroyed);
|
|
||||||
if (data !== null && !this.destroyed) {
|
if (data !== null && !this.destroyed) {
|
||||||
console.error("loadingnn????????", data);
|
|
||||||
this.setState(data);
|
this.setState(data);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -130,8 +130,6 @@ export class Popup {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
|
||||||
console.error("Missing reference");
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -47,11 +47,8 @@ export class Main extends React.Component<Props, State> {
|
|||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
this.props.store.on(StoreEvents.Any, this.update);
|
this.props.store.on(StoreEvents.Any, this.update);
|
||||||
this.update();
|
this.update();
|
||||||
console.error(this.STORAGE_KEY);
|
|
||||||
this.props.storage.getItem<StoreSettings>(this.STORAGE_KEY).then(data => {
|
this.props.storage.getItem<StoreSettings>(this.STORAGE_KEY).then(data => {
|
||||||
console.error(data, this.STORAGE_KEY, data !== null, !this.destroyed);
|
|
||||||
if (data !== null && !this.destroyed) {
|
if (data !== null && !this.destroyed) {
|
||||||
console.error("loadingnn????????", data);
|
|
||||||
this.setState(data);
|
this.setState(data);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -344,7 +344,6 @@ export function formatNumber(number: number) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function processNumberEvent(ev: React.ChangeEvent<HTMLInputElement>, cb: (n: number) => void) {
|
export function processNumberEvent(ev: React.ChangeEvent<HTMLInputElement>, cb: (n: number) => void) {
|
||||||
console.error(ev, ev.target.value);
|
|
||||||
ev.preventDefault();
|
ev.preventDefault();
|
||||||
ev.stopPropagation();
|
ev.stopPropagation();
|
||||||
if(ev.target.value === "") {
|
if(ev.target.value === "") {
|
||||||
|
|||||||
Reference in New Issue
Block a user