From ae5090b851f2b74742da5af137fdaf51174ae720 Mon Sep 17 00:00:00 2001 From: Ilia Denisov Date: Tue, 23 Jun 2026 09:59:24 +0200 Subject: [PATCH] fix(ui): load telegram-web-app.js dynamically with a timeout MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Telegram SDK was a render-blocking + { const prefs = await loadPrefs(); app.theme = prefs.theme ?? 'auto'; @@ -584,6 +592,13 @@ export async function bootstrap(): Promise { window.visualViewport.addEventListener('scroll', syncViewportHeight); } + // Load the Telegram Mini App SDK dynamically, with a timeout, on a Telegram entry — it is no + // longer a render-blocking