круто

This commit is contained in:
aurinex
2025-12-17 13:16:59 +05:00
parent 24423173a6
commit fef89513c2
10 changed files with 555 additions and 105 deletions

View File

@ -43,7 +43,7 @@ export default function useAuth() {
} catch (error) {
console.error('Ошибка при аутентификации:', error);
setStatus('error');
return null;
throw error;
}
};
@ -86,7 +86,7 @@ export default function useAuth() {
} catch (error) {
console.error('Ошибка при обновлении токена:', error);
setStatus('error');
return null;
throw error;
}
};