Skip to content

Commit

Permalink
resolve conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
blackpanther1881 committed Jan 15, 2024
2 parents 6e84a30 + aee4fe0 commit 4ba6b0f
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,8 @@ const Main = () => {
const dispatch = useDispatch();

let address;
const version = loginInfo && loginInfo.version;
if (version == null || packageJson.version !== version) {
localStorage.clear();
history.push("/");
} else {
address = loginInfo && loginInfo.address;
}

address = loginInfo && loginInfo.address;
const page = location.pathname;
useEffect(() => {
if (page === "/dashboard/wallet") {
Expand Down

0 comments on commit 4ba6b0f

Please sign in to comment.