diff --git a/src/App.tsx b/src/App.tsx index d0ca9ef..93ba25f 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,4 +1,4 @@ -import { useState } from 'react' +import { useEffect, useState } from 'react' import reactLogo from './assets/react.svg' import twaLogo from './assets/tapps.png' import viteLogo from '/vite.svg' @@ -19,6 +19,10 @@ function App() { const cartridgeConnector = connectors[0] + useEffect(() => { + window.Telegram.WebApp.SettingsButton.isVisible = true + }) + return ( <>
@@ -49,8 +53,8 @@ function App() {
-