Skip to content

Commit

Permalink
Mesto Russia (sprint 16): fix after 2 review
Browse files Browse the repository at this point in the history
  • Loading branch information
MalakhN committed May 18, 2023
1 parent d219ed3 commit 3102acc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function App() {
auth
.checkToken()
.then((res) => {
setEmail(res.data.email);
setEmail(res.email);
setLoggedIn(true);
navigate("/main", { replace: true });
})
Expand Down

0 comments on commit 3102acc

Please sign in to comment.