Skip to content

Commit

Permalink
feat(client): cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Mefjus committed Mar 15, 2021
1 parent 3ce464b commit 2fd0f25
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion packages/client/src/containers/Login/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ const Login = () => {
setLoading(true);
try {
await login(values);
console.log('after');
reset();
history.push(routes.HOME);
} catch (error) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const CurrentUserProvider = ({ children }: CurrentUserProviderProps) => {
return storeUser;
}
return undefined;
}, [expiration, storeUser]);
}, [getExpiration, storeUser]);

const setUser = (newUser: User | undefined, expirationDate: number | undefined = undefined) => {
setExpiration(expirationDate);
Expand Down

0 comments on commit 2fd0f25

Please sign in to comment.