Skip to content

Commit

Permalink
SOV-4278: hide POWA claim page (#956)
Browse files Browse the repository at this point in the history
* feat: hide POWA claim page

* chore: add changeset
  • Loading branch information
soulBit authored Jul 15, 2024
1 parent efc6dc5 commit 3c3730b
Show file tree
Hide file tree
Showing 10 changed files with 5 additions and 133,503 deletions.
5 changes: 5 additions & 0 deletions .changeset/quiet-tools-remember.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"frontend": patch
---

SOV-4278: hide POWA claim page
9 changes: 0 additions & 9 deletions apps/frontend/src/app/3_organisms/Header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import { useWalletConnect, useWrongNetworkCheck } from '../../../hooks';
import { useCurrentChain } from '../../../hooks/useChainStore';
import { translations } from '../../../locales/i18n';
import { isBobChain } from '../../../utils/chain';
import { isRskChain } from '../../../utils/chain';
import { menuItemsMapping } from './Header.constants';
import { BridgeMenuItem } from './components/BridgeMenuItem/BridgeMenuItem';
import { NavItem } from './components/NavItem/NavItem';
Expand Down Expand Up @@ -94,14 +93,6 @@ export const Header: FC = () => {
}
extraContent={
<div className="flex lg:space-x-4 items-center flex-wrap lg:flex-nowrap flex-col-reverse lg:flex-row lg:justify-start">
{isRskChain(chainId) && (
<Button
text={t(translations.header.nav.claimPowa)}
style={ButtonStyle.primary}
className="bg-[#24BFB74D]/[0.3] border-[#24BFB74D]/[0.3] hover:bg-[#24BFB74D] mt-2 lg:mt-0 w-full lg:w-auto lg:hidden xl:block"
onClick={() => navigate('/claim-POWA')}
/>
)}
{account && (
<div className="w-full lg:w-auto mt-2 lg:mt-0">
<BridgeMenuItem dataAttribute="dapp-header-bridges" />
Expand Down

This file was deleted.

This file was deleted.

115 changes: 0 additions & 115 deletions apps/frontend/src/app/5_pages/ClaimPowaPage/ClaimPowaPage.tsx

This file was deleted.

Loading

0 comments on commit 3c3730b

Please sign in to comment.