Skip to content

Commit

Permalink
devop: remove console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
kvhnuke committed Dec 30, 2023
1 parent 106ebf8 commit d894a4d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/extension/src/providers/polkadot/inject.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,9 @@ export class Provider
}; //need a global var since, polkadot use enable as a function not from the class
}
handleMessage(msg: string): void {
console.log(msg);
messagerRouter.handleMessage(msg);
}
enable(dappName: string): Promise<SubstrateInjectedProvider> {
console.log(dappName);
const id = messagerRouter.nextPosition();
const newProvider = new InjectedProvider({
dappName,
Expand All @@ -64,7 +62,6 @@ const ProxyHandler = {
return Object.keys(target).concat(this.proxymethods);
},
set(target: Provider, name: keyof Provider, value: any) {
console.log(name, value, "set");
if (!this.ownKeys(target).includes(name)) this.proxymethods.push(name);
return Reflect.set(target, name, value);
},
Expand All @@ -77,7 +74,6 @@ const ProxyHandler = {
};
},
get(target: Provider, prop: keyof Provider) {
console.log(prop, "get");
if (typeof target[prop] === "function") {
return (target[prop] as () => any).bind(target);
}
Expand Down

1 comment on commit d894a4d

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.