Skip to content

Commit

Permalink
build fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Ani Kalpachka committed Jan 16, 2021
1 parent 04f1eb8 commit 1991268
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/login/LoginPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default function LoginPage() {
const [email, setEmail] = useState('')
const [password, setPassword] = useState('')

function handleSubmit(event) {
function handleSubmit(event: React.FormEvent) {
event.preventDefault()
}

Expand Down
2 changes: 1 addition & 1 deletion src/components/register/RegisterPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default function RegisterPage() {
const [email, setEmail] = useState('')
const [password, setPassword] = useState('')

function handleSubmit(event) {
function handleSubmit(event: React.FormEvent) {
event.preventDefault()
}

Expand Down

0 comments on commit 1991268

Please sign in to comment.