Skip to content

Commit

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

WebApp.SettingsButton.isVisible = true

function App() {
const [count] = useState(0)

Expand Down Expand Up @@ -47,7 +49,6 @@ function App() {
</div>

<button onClick={() => {
WebApp.SettingsButton.show()
WebApp.BiometricManager.init(() => {
WebApp.BiometricManager.requestAccess({
reason: 'we need your biometric data',
Expand Down

0 comments on commit 6222395

Please sign in to comment.