Srovnání stížností linteru

This commit is contained in:
2023-06-07 21:08:01 +02:00
parent 5e94009898
commit 8525bc5c12
2 changed files with 1 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ export default function Login() {
if (length) {
auth?.setLogin(loginRef.current.value);
}
}, []);
}, [auth]);
if (!auth || !auth.login) {
return <div className='login'>