Unverified Commit 7d2ff812 authored by Oxicode's avatar Oxicode Committed by GitHub

fix variable (#12114)

parent 2b9425c2
......@@ -12,7 +12,7 @@ const Login = () => {
const [errorMsg, setErrorMsg] = useState('')
async function handleSubmit(e) {
event.preventDefault()
e.preventDefault()
const body = {
username: e.currentTarget.username.value,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment