From 7bb75aa92045d911533506cf922cbc8a45ef0968 Mon Sep 17 00:00:00 2001 From: c0mrade Date: Sat, 7 Mar 2026 23:35:06 +0300 Subject: [PATCH] fix: use platform-conditional replace for QR navigation to preserve Telegram back behavior --- src/pages/Connection.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/Connection.tsx b/src/pages/Connection.tsx index 9300219..1907721 100644 --- a/src/pages/Connection.tsx +++ b/src/pages/Connection.tsx @@ -37,7 +37,7 @@ export default function Connection() { const handleOpenQR = useCallback(() => { navigate('/connection/qr', { - replace: true, + replace: !isTelegramWebApp, state: { url: appConfig?.subscriptionUrl, hideLink: appConfig?.hideLink ?? false,