Skip to content

Commit

Permalink
feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
ZiyedB committed Mar 2, 2021
1 parent e116fc7 commit c812b06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/Login/Login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const Login = (props: RouteComponentProps<{}, {}, LoginProps>): JSX.Element => {
}));
};

const login = async (data: LoginFormData): Promise<any> => {
const login = (data: LoginFormData): void => {
// Avoid the page to refresh from submitting the form
// event.preventDefault();
// TODO: put like a loading icon on the login button
Expand All @@ -59,7 +59,7 @@ const Login = (props: RouteComponentProps<{}, {}, LoginProps>): JSX.Element => {

console.log('data', data);
// Just to check
await paralinkApi
paralinkApi
// For now this is going to be the placeholder
.get('https://jsonplaceholder.typicode.com/todos')
.then(() => {
Expand Down

0 comments on commit c812b06

Please sign in to comment.