Skip to content

Commit

Permalink
fix: example
Browse files Browse the repository at this point in the history
  • Loading branch information
gronxb committed Jul 10, 2024
1 parent 267a788 commit 8343127
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions example/shared-state-integration-react/react/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,9 @@ function App() {
<h2>This is WebView</h2>
<button
onClick={() => {
console.log(bridge);
// if (bridge.isNativeMethodAvailable("openInAppBrowser") === true) {
bridge.openInAppBrowser("https://github.com/gronxb/webview-bridge");
// }
if (bridge.isNativeMethodAvailable("openInAppBrowser") === true) {
bridge.openInAppBrowser("https://github.com/gronxb/webview-bridge");
}
}}
>
open InAppBrowser
Expand Down

0 comments on commit 8343127

Please sign in to comment.