From 4e4b9ce9c00f3c33ee511988d4289c18c453a272 Mon Sep 17 00:00:00 2001 From: Nasr Date: Thu, 22 Aug 2024 16:14:08 -0400 Subject: [PATCH] bm --- src/App.tsx | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 1275dd3..8191dbf 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -4,10 +4,10 @@ import viteLogo from '/vite.svg' import './App.css' import { useConnect, useDisconnect, useAccount } from '@starknet-react/core' +import { useBiometryManagerRaw } from '@telegram-apps/sdk-react' // import { useBiometryManager, useSettingsButton } from '@telegram-apps/sdk-react' // import { useEffect } from 'react' - function App() { const { connect, connectors } = useConnect() const { disconnect } = useDisconnect() @@ -16,6 +16,9 @@ function App() { const cartridgeConnector = connectors[0] + const bm = useBiometryManagerRaw(); + + // const biometryManager = useBiometryManager(false) // const settings = useSettingsButton(false) @@ -23,6 +26,7 @@ function App() { // settings?.show() // }, [settings]) + return ( <>
@@ -52,16 +56,20 @@ function App() {
- {/*
- -
*/} + ) }