Skip to content

Commit

Permalink
remove lords and eth info
Browse files Browse the repository at this point in the history
  • Loading branch information
starknetdev committed Sep 10, 2024
1 parent 03c603c commit 6ef229c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 46 deletions.
16 changes: 0 additions & 16 deletions ui/src/app/components/profile/ProfileDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -151,22 +151,6 @@ export const ProfileDialog = ({
Low on tokens? Below are the token addresses, make sure you
transfer to the address at the top!
</p>
<div className="flex flex-col gap-2">
<span className="flex flex-row items-center gap-2 relative">
<Lords className="self-center sm:w-8 sm:h-8 h-3 w-3 fill-current mr-1" />
<span className="uppercase">
{displayAddress(lordsContractAddress)}
</span>
</span>
<span className="flex flex-col relative">
<span className="flex flex-row items-center gap-2 relative">
<Eth className="self-center sm:w-8 sm:h-8 h-3 w-3 fill-current mr-1" />
<span className="uppercase">
{displayAddress(ethContractAddress)}
</span>
</span>
</span>
</div>
</div>
)}
<div className="flex flex-col items-center sm:border sm:border-terminal-green p-5 text-center sm:gap-10 z-1 sm:h-[400px] sm:w-1/3">
Expand Down
30 changes: 0 additions & 30 deletions ui/src/app/containers/TopUp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,23 +122,6 @@ const TopUp = ({
{formatNumber(parseInt(lordsBalance.toString()) / 10 ** 18)}
</p>
</span>
{onSepolia ? (
<Button onClick={() => mintLords()}>Mint Lords</Button>
) : (
<>
<span className="uppercase">
{displayAddress(lordsContract.address)}
</span>
<Button size={"xs"} onClick={handleCopyLords}>
Copy
</Button>
{copiedLords && (
<span className="absolute right-[-50px] uppercase">
Copied!
</span>
)}
</>
)}
</div>
<span className="flex flex-col relative">
<div className="flex flex-col gap-2 items-center">
Expand All @@ -149,19 +132,6 @@ const TopUp = ({
{formatNumber(parseInt(ethBalance.toString()) / 10 ** 18)}
</p>
</span>
<span className="flex flex-row items-center gap-2 relative">
<span className="uppercase">
{displayAddress(ethContract.address)}
</span>
<Button size={"xs"} onClick={handleCopyEth}>
Copy
</Button>
{copiedEth && (
<span className="absolute right-[-50px] uppercase">
Copied!
</span>
)}
</span>
</div>
</span>
</div>
Expand Down

0 comments on commit 6ef229c

Please sign in to comment.