Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
webcat12345 committed Jan 18, 2023
1 parent 3d0b8ba commit ebf40f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/LoginModal/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const LoginButton = () => {

useEffect(() => {
if (isLoggedIn) {
window.location.href = '/multiversx-my-nfts-collection-dapp' + routeNames.dashboard;
window.location.href = routeNames.dashboard;
}
}, [isLoggedIn])

Expand Down

0 comments on commit ebf40f2

Please sign in to comment.