Skip to content

Commit 0c61a03

Browse files
authored
Merge pull request #1906 from pyth-network/revert-1904-address-feedback
Revert "feat(staking) address some feedback items"
2 parents 4f62ae0 + 7770e8e commit 0c61a03

File tree

8 files changed

+117
-286
lines changed

8 files changed

+117
-286
lines changed

apps/staking/src/components/CopyButton/index.tsx

Lines changed: 0 additions & 77 deletions
This file was deleted.

apps/staking/src/components/Header/current-stake-account.tsx

Lines changed: 0 additions & 30 deletions
This file was deleted.

apps/staking/src/components/Header/index.tsx

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
import clsx from "clsx";
22
import type { HTMLAttributes } from "react";
33

4-
import { CurrentStakeAccount } from "./current-stake-account";
54
import Logo from "./logo.svg";
6-
import Logomark from "./logomark.svg";
75
import { MaxWidth } from "../MaxWidth";
86
import { WalletButton } from "../WalletButton";
97

@@ -16,13 +14,9 @@ export const Header = ({
1614
{...props}
1715
>
1816
<div className="border-b border-neutral-600/50 bg-pythpurple-800 sm:border-x">
19-
<MaxWidth className="flex h-16 items-center justify-between gap-2 sm:-mx-4">
20-
<Logo className="hidden max-h-full py-4 text-pythpurple-100 sm:block" />
21-
<Logomark className="max-h-full py-4 text-pythpurple-100 sm:hidden" />
22-
<div className="flex flex-none flex-row items-stretch gap-8">
23-
<CurrentStakeAccount />
24-
<WalletButton className="flex-none" />
25-
</div>
17+
<MaxWidth className="flex h-16 items-center justify-between gap-8 sm:-mx-4">
18+
<Logo className="max-h-full py-4 text-pythpurple-100" />
19+
<WalletButton className="flex-none" />
2620
</MaxWidth>
2721
</div>
2822
</header>

apps/staking/src/components/Header/logomark.svg

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)