fix and update

This commit is contained in:
lendry
2026-06-30 16:42:48 +03:00
parent 2eeb928a72
commit 31251be877
4 changed files with 113 additions and 97 deletions

View File

@@ -18,11 +18,6 @@ export function AppBootstrapScreen({
<p className="mt-2 max-w-sm text-center text-sm text-[#667085]">
Сервер авторизации временно недоступен. Обычно помогает повтор через несколько секунд.
</p>
{onRetry ? (
<Button className="mt-6 rounded-xl" onClick={onRetry}>
Повторить подключение
</Button>
) : null}
</>
) : (
<>
@@ -33,6 +28,11 @@ export function AppBootstrapScreen({
</p>
</>
)}
{onRetry ? (
<Button className="mt-6 rounded-xl" variant={error ? 'default' : 'secondary'} onClick={onRetry}>
Повторить подключение
</Button>
) : null}
</div>
);
}