Fix login bug with empty username

master
Tanner Collin 4 years ago
parent 0326950c54
commit efcc4b847d
  1. 2
      webclient/src/LoginSignup.js

@ -5,7 +5,7 @@ import { Container, Divider, Dropdown, Form, Grid, Header, Icon, Image, Menu, Me
import { requester } from './utils.js';
export function LoginForm(props) {
const [input, setInput] = useState({});
const [input, setInput] = useState({ username: '' });
const [error, setError] = useState({});
const [loading, setLoading] = useState(false);

Loading…
Cancel
Save