Skip to content

Commit

Permalink
fix: switch address popup (#1008)
Browse files Browse the repository at this point in the history
  • Loading branch information
2nthony authored Mar 27, 2024
1 parent 46f23f1 commit 58f1004
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions next/components/account.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,8 @@ function Account({ networks }) {

const Menu = (
<MenuWrapper ref={menuRef} onClick={(e) => e.stopPropagation()}>
{/*The dark connect button For Mobile only*/}
{!account && ConnectWalletButton}
{/*The dark connect button For Mobile only*/}

{address && (
<>
<AccountWrapper>
Expand Down Expand Up @@ -248,6 +247,7 @@ function Account({ networks }) {
</div>
</AccountWrapperPC>
{showMenu && Menu}
{showConnect && <ConnectModal networks={networks} />}
</Wrapper>
);
}
Expand Down
1 change: 0 additions & 1 deletion next/components/header.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ export default function Header({ networks }) {

return (
<OsnHeader
className="z-50"
prefix={
<AppWrapper>
<SystemApps className="text-textSecondary mr-4" />
Expand Down

0 comments on commit 58f1004

Please sign in to comment.