Skip to content

Commit

Permalink
Changed location of eth balance in mobile and desktop versions
Browse files Browse the repository at this point in the history
  • Loading branch information
luloxi committed Dec 16, 2024
1 parent 2d2ea52 commit 0c8e873
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions packages/nextjs/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ export const Header = () => {
<Image src="/usdc-logo.png" alt="USDC" width={20} height={20} className="inline-block" />
<span className="ml-2">{formattedUsdcBalance}</span>
</span>
<div className="ml-2">
{/* <div className="ml-2">
<PunkBalance address={connectedAddress} />
</div>
</div> */}
</div>
<div className="hidden lg:flex flex-row gap-3 ">
<Link href="/" passHref>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useRef, useState } from "react";
import Link from "next/link";
// import { PunkBalance } from "../PunkBalance";
import { PunkBalance } from "../PunkBalance";
import { NetworkOptions } from "./NetworkOptions";
// import { FundButton, getOnrampBuyUrl } from "@coinbase/onchainkit/fund";
import { getAddress } from "viem";
Expand Down Expand Up @@ -81,9 +81,9 @@ export const AddressInfoDropdown = ({ address }: AddressInfoDropdownProps) => {
className="dropdown-content menu z-[2] p-2 mt-2 shadow-center shadow-accent bg-base-200 rounded-box gap-1"
>
<NetworkOptions hidden={!selectingNetwork} />
{/* <div className="flex lg:hidden justify-center">
<div className="flex lg:hidden justify-center">
<PunkBalance address={connectedAddress} />
</div> */}
</div>
<li className={selectingNetwork ? "hidden" : ""}>
<Link className="p-0 flex items-center justify-center" href={`/profile/${connectedAddress}`} passHref>
<div className="btn-sm w-full !rounded-xl flex items-center justify-start gap-2 py-3 text-white bg-orange-600 hover:bg-orange-500 active:bg-orange-500">
Expand Down

0 comments on commit 0c8e873

Please sign in to comment.