fix: use platform-conditional replace for QR navigation to preserve Telegram back behavior

This commit is contained in:
c0mrade
2026-03-07 23:35:06 +03:00
parent 8ce4b1a24a
commit 7bb75aa920

View File

@@ -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,