Skip to content

Commit

Permalink
open link
Browse files Browse the repository at this point in the history
  • Loading branch information
Larkooo committed Aug 22, 2024
1 parent 11303c4 commit 954f0ae
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ function App() {
</button>
</div>

<button onClick={() => {
WebApp.openLink('https://ton.org/dev')
}}>
open link
</button>
<button onClick={() => {
window.Telegram.WebApp.BiometricManager.init(() => {
window.Telegram.WebApp.showConfirm('give data', () => window.Telegram.WebApp.BiometricManager.requestAccess({
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true
"noFallthroughCasesInSwitch": true,
},
"include": ["src"],
"references": [{ "path": "./tsconfig.node.json" }]
Expand Down

0 comments on commit 954f0ae

Please sign in to comment.