refactor: remove extra non-essential logging

This commit is contained in:
sethburkart123
2024-06-09 17:30:46 +10:00
parent e0ac71eba4
commit 13e1a832f2
8 changed files with 6 additions and 18 deletions
@@ -18,7 +18,6 @@ class StorageManager {
if (prop in target) {
return (target as any)[prop];
}
//console.log(this.data[prop], prop, this.data)
return Reflect.get(target.data, prop);
},
set: (target, prop: keyof SettingsState, value) => {
@@ -67,7 +67,6 @@ export class StorageChangeHandler {
}
private handleShortcutsChange(newValue: { enabled: boolean, name: string }[], oldValue: { enabled: boolean, name: string }[]) {
console.log(oldValue, newValue);
const addedShortcuts = newValue.filter((newItem: any) => {
const isAdded = oldValue.some((oldItem: any) => {
const match = oldItem.name === newItem.name;
-1
View File
@@ -1 +0,0 @@
export function onError (error: string) { console.log(`Error: ${error}`) }