Skip to content

Commit

Permalink
uncommit last change
Browse files Browse the repository at this point in the history
  • Loading branch information
enndylove committed Aug 9, 2024
1 parent 5ee7bf4 commit 94b6254
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/components/main/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,7 @@ const Header = () => {
try {
const address = localStorage.getItem("userAddress");
if (!address) {
// window.location = "/connectWallet";
console.log("Wallet is no connecting...");
window.location = "/connectWallet";
return;
} else {
setisUserRegistered(true);
Expand Down Expand Up @@ -428,7 +427,7 @@ const Header = () => {
}
}
const disconnectApi = async () => {
console.log('Wallet is not connecting');
window.location = "/connectWallet";
};

return (
Expand Down

0 comments on commit 94b6254

Please sign in to comment.