Remove console logs

This commit is contained in:
0xa663
2024-02-16 11:24:38 +01:00
parent 7a84e8b690
commit 79dc76516a
4 changed files with 0 additions and 12 deletions
-6
View File
@@ -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);
} }
}); });
-2
View File
@@ -130,8 +130,6 @@ export class Popup {
} }
} }
}); });
} else {
console.error("Missing reference");
} }
}); });
} }
-3
View File
@@ -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);
} }
}); });
-1
View File
@@ -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 === "") {