Skip to content

Commit

Permalink
chore: remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
bluecco committed Aug 6, 2024
1 parent d1d11dc commit 4e4a988
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/connectors/argentMobile/modal/argentModal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ interface Urls {
}

class ArgentModal {
public bridgeUrl = "https://mobile-login.argent.xyz"
public bridgeUrl = "https://login.argent.xyz"
public mobileUrl = "argent://"
public type: "overlay" | "window" = "overlay"
public wcUri?: string
Expand All @@ -73,7 +73,6 @@ class ArgentModal {
const href = encodeURIComponent(window.location.href)

this.showModal({
//desktop: `http://localhost:3001?wc=${wcParam}&href=${href}&device=desktop`,
desktop: `${this.bridgeUrl}?wc=${wcParam}&href=${href}&device=desktop`,
ios: `${this.mobileUrl}app/wc?uri=${wcParam}&href=${href}&device=mobile`,
android: `${this.mobileUrl}app/wc?uri=${wcParam}&href=${href}&device=mobile`,
Expand All @@ -83,7 +82,6 @@ class ArgentModal {
public showApprovalModal(_: RequestArguments): void {
if (device === "desktop") {
this.showModal({
//desktop: `http://localhost:3001?action=sign`,
desktop: `${this.bridgeUrl}?action=sign`,
ios: "",
android: "",
Expand All @@ -98,7 +96,6 @@ class ArgentModal {
this should be ignored and not considered valid as it's only used for automatically redirecting the users to approve or reject a signing request.
*/
this.showModal({
//desktop: `http://localhost:3001?action=sign&device=desktop&href=${href}`,
desktop: `${this.bridgeUrl}?action=sign&device=desktop&href=${href}`,
ios: `${this.mobileUrl}app/wc/request?href=${href}&device=mobile`,
android: `${this.mobileUrl}app/wc/request?href=${href}&device=mobile`,
Expand Down

0 comments on commit 4e4a988

Please sign in to comment.