This commit is contained in:
aurinex
2025-12-20 17:32:22 +05:00
parent d25cda62df
commit 26f0865d2e

View File

@ -329,7 +329,6 @@ const Login = ({ onLoginSuccess }: LoginProps) => {
<FullScreenLoader message="Входим..." />
) : (
<>
<PopaPopa />
{/* ===== QR экран по умолчанию ===== */}
{!showPasswordLogin ? (
@ -341,6 +340,7 @@ const Login = ({ onLoginSuccess }: LoginProps) => {
alignItems: 'center',
}}
>
<PopaPopa/>
<Typography
sx={{
fontFamily: 'Benzin-Bold',
@ -366,14 +366,6 @@ const Login = ({ onLoginSuccess }: LoginProps) => {
{/* QR контейнер */}
<div ref={qrRef} style={{ minHeight: 300 }} />
{qrLoading ? (
<FullScreenLoader fullScreen={false} />
) : (
<Typography variant="body1">
Ждем подтверждения в боте
</Typography>
)}
<Box
sx={{
display: 'flex',
@ -382,6 +374,7 @@ const Login = ({ onLoginSuccess }: LoginProps) => {
gap: '2vh',
}}
>
{qrLoading && <FullScreenLoader fullScreen={true} /> }
<Typography onClick={startQrLogin} sx={gradientTextSx}>
Обновить QR
</Typography>