Skip to content

Commit 024041b

Browse files
authored
Fix variable name to prevent confusions
1 parent 944722e commit 024041b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

example/App.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,10 @@ export default class App extends Component {
102102
}
103103

104104
async tryDeepLinking() {
105-
const redirectToURL =
105+
const loginUrl =
106106
'https://proyecto26.github.io/react-native-inappbrowser/';
107107
const redirectUrl = encodeURIComponent(this.getDeepLink('home'));
108-
const url = `${redirectToURL}?redirect_url=${redirectUrl}`;
108+
const url = `${loginUrl}?redirect_url=${redirectUrl}`;
109109
try {
110110
if (await InAppBrowser.isAvailable()) {
111111
const result = await InAppBrowser.openAuth(url, redirectUrl);

0 commit comments

Comments
 (0)