Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Larkooo committed Aug 22, 2024
1 parent 28c29ed commit 415967b
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,14 @@ import './App.css'
import WebApp from '@twa-dev/sdk'
import { useConnect, useDisconnect, useAccount } from '@starknet-react/core'



WebApp.SettingsButton.isVisible = true
WebApp.SettingsButton.onClick = () => {
return WebApp.SettingsButton.show()
}
WebApp.BiometricManager.init()
WebApp.BiometricManager.authenticate({
reason: 'we need'
})
function App() {
const [count] = useState(0)

Expand All @@ -19,10 +25,6 @@ function App() {

const cartridgeConnector = connectors[0]

useEffect(() => {
WebApp.SettingsButton.isVisible = true
})

return (
<>
<div>
Expand Down

0 comments on commit 415967b

Please sign in to comment.