Migrace na OpenAPI - TypeScript typy
This commit is contained in:
@@ -28,7 +28,7 @@ export default function Login() {
|
||||
const length = loginRef?.current?.value && loginRef?.current?.value.length && loginRef.current.value.replace(/\s/g, '').length
|
||||
if (length) {
|
||||
// TODO odchytávat cokoliv mimo 200
|
||||
const token = await login(loginRef.current.value);
|
||||
const token = await login(loginRef.current?.value);
|
||||
if (token) {
|
||||
auth?.setToken(token);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user