Srovnání stížností linteru
This commit is contained in:
parent
5e94009898
commit
8525bc5c12
@ -115,7 +115,6 @@ function App() {
|
||||
const s = value.split('|');
|
||||
const pizzaIndex = Number.parseInt(s[0]);
|
||||
const pizzaSizeIndex = Number.parseInt(s[1]);
|
||||
const pizza = pizzy[pizzaIndex];
|
||||
await addPizza(auth.login, pizzaIndex, pizzaSizeIndex);
|
||||
}
|
||||
}
|
||||
|
@ -15,7 +15,7 @@ export default function Login() {
|
||||
if (length) {
|
||||
auth?.setLogin(loginRef.current.value);
|
||||
}
|
||||
}, []);
|
||||
}, [auth]);
|
||||
|
||||
if (!auth || !auth.login) {
|
||||
return <div className='login'>
|
||||
|
Loading…
x
Reference in New Issue
Block a user