Skip to content

Commit

Permalink
purge
Browse files Browse the repository at this point in the history
  • Loading branch information
Larkooo committed Aug 22, 2024
1 parent 36bf8dc commit a22f6e6
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import viteLogo from '/vite.svg'
import './App.css'

import { useConnect, useDisconnect, useAccount } from '@starknet-react/core'
import { useBiometryManager, useSettingsButton } from '@telegram-apps/sdk-react'
import { useEffect } from 'react'
// import { useBiometryManager, useSettingsButton } from '@telegram-apps/sdk-react'
// import { useEffect } from 'react'


function App() {
Expand All @@ -16,12 +16,12 @@ function App() {

const cartridgeConnector = connectors[0]

const biometryManager = useBiometryManager(false)
const settings = useSettingsButton(false)
// const biometryManager = useBiometryManager(false)
// const settings = useSettingsButton(false)

useEffect(() => {
settings?.show()
}, [settings])
// useEffect(() => {
// settings?.show()
// }, [settings])

return (
<>
Expand Down Expand Up @@ -52,7 +52,7 @@ function App() {
</button>
</div>

<button onClick={() => {
{/* <button onClick={() => {
biometryManager?.requestAccess({ reason: 'pwease'}).then(console.log)
}}>
gib data
Expand All @@ -61,7 +61,7 @@ function App() {
<button onClick={() => biometryManager?.openSettings()}>
Bio settings
</button>
</div>
</div> */}
</>
)
}
Expand Down

0 comments on commit a22f6e6

Please sign in to comment.