Skip to content

Commit 7672e5a

Browse files
committed
fix: banner
1 parent 46a27f3 commit 7672e5a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/layouts/MainLayout.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ import { AppHeader } from './AppHeader';
1515
import TopBarNotify from './TopBarNotify';
1616

1717
const getCampaignConfigs = (
18-
openSwitch: (token?: string, chainId?: number) => void,
19-
openMarket: (market: CustomMarket) => void
18+
openSwitch: (token?: string, chainId?: number) => void
19+
// openMarket: (market: CustomMarket) => void
2020
) => ({
2121
[ChainId.base]: {
2222
notifyText: 'A new incentives campaign is live on the Base market',
@@ -42,11 +42,11 @@ const getCampaignConfigs = (
4242

4343
[ChainId.mainnet]: {
4444
notifyText:
45-
'Users can now deposit 50% sUSDe & 50% USDe into Aave and earn promotional rewards for USDe (currently ~12% APY)',
46-
buttonText: 'Deposit Now',
45+
'If you hold Pendle PT tokens at maturity, you can now swap your collateral to a new maturity',
46+
buttonText: 'Get Started',
4747
buttonAction: {
4848
type: 'function' as const,
49-
value: () => openMarket(CustomMarket.proto_mainnet_v3),
49+
value: () => openSwitch(CustomMarket.proto_mainnet_v3),
5050
},
5151
bannerVersion: 'ethereum-swap-v1',
5252
// icon: '/icons/networks/ethereum.svg',

0 commit comments

Comments
 (0)