Skip to content

Commit a21b005

Browse files
authored
Fix variable name to prevent confusions
1 parent 81b3600 commit a21b005

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

demo/app/main-view-model.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,9 @@ export class HelloWorldModel extends Observable {
8989
}
9090

9191
tryDeepLinking = async () => {
92-
const redirectToURL = `https://proyecto26.github.io/react-native-inappbrowser/`;
92+
const loginUrl = `https://proyecto26.github.io/react-native-inappbrowser/`;
9393
const redirectUrl = this.getDeepLink('home');
94-
const url = `${redirectToURL}?redirect_url=${encodeURIComponent(redirectUrl)}`;
94+
const url = `${loginUrl}?redirect_url=${encodeURIComponent(redirectUrl)}`;
9595
if (await InAppBrowser.isAvailable()) {
9696
const result = await InAppBrowser.openAuth(url, redirectUrl);
9797
await this.sleep(800);

0 commit comments

Comments
 (0)