From 2c30f663e3df44c1efb4b666a7945ed19f2299d8 Mon Sep 17 00:00:00 2001 From: Nasr Date: Thu, 22 Aug 2024 13:55:06 -0400 Subject: [PATCH] add ok button --- src/App.tsx | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 21ec1da..e8fae93 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,4 +1,4 @@ -import { useEffect, useState } from 'react' +import { useState } from 'react' import reactLogo from './assets/react.svg' import twaLogo from './assets/tapps.png' import viteLogo from '/vite.svg' @@ -17,16 +17,6 @@ function App() { const cartridgeConnector = connectors[0] - useEffect(() => { - WebApp.BiometricManager.init(() => { - WebApp.BiometricManager.requestAccess({ - reason: 'we need your biometric data', - }) - }) - WebApp.SettingsButton.show() - WebApp.SettingsButton.isVisible = true - }, []) - return ( <>
@@ -56,6 +46,16 @@ function App() {
+