Skip to content

Commit

Permalink
PLT-5535 Naming fix
Browse files Browse the repository at this point in the history
  • Loading branch information
amnambiar committed Aug 10, 2023
1 parent e18773b commit ac2cabc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions react-web/src/components/Header/Menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import AvatarDropDown from "components/AvatarDropdown/AvatarDropdown";
import { LocalStorageKeys } from "constants/constants";

export const NoAuthMenu = memo(() => {
const hasCachedAddress =
const hasNoCachedAddress =
!localStorage.getItem(LocalStorageKeys.address)?.length ||
!localStorage.getItem(LocalStorageKeys.walletName)?.length;

Expand All @@ -23,7 +23,7 @@ export const NoAuthMenu = memo(() => {
<Link to="support">Support</Link>
</li>
<li className="button-wrap">
<>{hasCachedAddress ? <ConnectWallet /> : null}</>
<>{hasNoCachedAddress ? <ConnectWallet /> : null}</>
</li>
</>
);
Expand Down

0 comments on commit ac2cabc

Please sign in to comment.