Исправить переход со старта на экран выбора входа

This commit is contained in:
AidarKC
2026-06-14 21:33:43 +04:00
parent dd69a52273
commit 49fdbbf7ae
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ export function render({ navigate }) {
loginButton.className = 'primary-btn';
loginButton.type = 'button';
loginButton.textContent = 'Войти';
loginButton.addEventListener('click', () => navigate('login-password-view'));
loginButton.addEventListener('click', () => navigate('login-view'));
const registerButton = document.createElement('button');
registerButton.className = 'ghost-btn';