Skip to content

Commit

Permalink
Remove console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
laymonage committed Dec 10, 2023
1 parent 9aa8a30 commit d499b5a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions web/src/giscus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ export class GiscusWidget extends LitElement {
}

if (data.giscus.signOut) {
console.log(`[giscus] User has logged out. Session has been cleared.`);
console.info(`[giscus] User has logged out. Session has been cleared.`);
this.signOut();
return;
}
Expand Down Expand Up @@ -236,7 +236,6 @@ export class GiscusWidget extends LitElement {

private sendMessage<T>(message: T) {
if (!this.iframeRef?.contentWindow || !this.hasLoaded) return;
console.log({ host: this.host, _host: this._host });
this.iframeRef.contentWindow.postMessage({ giscus: message }, this._host);
}

Expand Down

1 comment on commit d499b5a

@vercel
Copy link

@vercel vercel bot commented on d499b5a Dec 10, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

giscus-component – ./

giscus-component.vercel.app
giscus-component-git-main-giscus.vercel.app
giscus-component-giscus.vercel.app

Please sign in to comment.