From 71ad2c39b2381252323134bc82d853a140e67d94 Mon Sep 17 00:00:00 2001 From: Francisco Presencia Date: Sun, 9 Jun 2019 12:54:58 +0900 Subject: [PATCH] Fixed typo Fixed typo --- client/src/screens/Login/Login.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/screens/Login/Login.tsx b/client/src/screens/Login/Login.tsx index 823a4b9..aae3abf 100644 --- a/client/src/screens/Login/Login.tsx +++ b/client/src/screens/Login/Login.tsx @@ -61,8 +61,8 @@ const Login = (props: any) => { {path === Tabs.login ? ( { - await logIn(email, passowrd, isLandlord) + onSubmit={async (email, password) => { + await logIn(email, password, isLandlord) props.history.push('/') }} />