Skip to content

Commit 46a27f3

Browse files
committed
fix: remove swap notify for now
1 parent 828f222 commit 46a27f3

File tree

1 file changed

+70
-70
lines changed

1 file changed

+70
-70
lines changed

src/layouts/MainLayout.tsx

Lines changed: 70 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,16 @@ const getCampaignConfigs = (
2929
icon: '/icons/networks/base.svg',
3030
},
3131

32-
[ChainId.sonic]: {
33-
notifyText: 'Swaps are now live on Sonic',
34-
buttonText: 'Swap Now',
35-
buttonAction: {
36-
type: 'function' as const,
37-
value: () => openSwitch('', ChainId.sonic),
38-
},
39-
bannerVersion: 'sonic-incentives-v1',
40-
icon: '/icons/networks/sonic.svg',
41-
},
32+
// [ChainId.sonic]: {
33+
// notifyText: 'Swaps are now live on Sonic',
34+
// buttonText: 'Swap Now',
35+
// buttonAction: {
36+
// type: 'function' as const,
37+
// value: () => openSwitch('', ChainId.sonic),
38+
// },
39+
// bannerVersion: 'sonic-incentives-v1',
40+
// icon: '/icons/networks/sonic.svg',
41+
// },
4242

4343
[ChainId.mainnet]: {
4444
notifyText:
@@ -52,71 +52,71 @@ const getCampaignConfigs = (
5252
// icon: '/icons/networks/ethereum.svg',
5353
},
5454

55-
[ChainId.polygon]: {
56-
notifyText: 'Swap tokens directly in the Aave App',
57-
buttonText: 'Swap Now',
58-
buttonAction: {
59-
type: 'function' as const,
60-
value: () => openSwitch('', ChainId.polygon),
61-
},
62-
bannerVersion: 'polygon-swap-v1',
63-
icon: '/icons/networks/polygon.svg',
64-
},
55+
// [ChainId.polygon]: {
56+
// notifyText: 'Swap tokens directly in the Aave App',
57+
// buttonText: 'Swap Now',
58+
// buttonAction: {
59+
// type: 'function' as const,
60+
// value: () => openSwitch('', ChainId.polygon),
61+
// },
62+
// bannerVersion: 'polygon-swap-v1',
63+
// icon: '/icons/networks/polygon.svg',
64+
// },
6565

66-
[ChainId.avalanche]: {
67-
notifyText: 'Swap tokens directly in the Aave App',
68-
buttonText: 'Swap Now',
69-
buttonAction: {
70-
type: 'function' as const,
71-
value: () => openSwitch('', ChainId.avalanche),
72-
},
73-
bannerVersion: 'avalanche-swap-v1',
74-
icon: '/icons/networks/avalanche.svg',
75-
},
66+
// [ChainId.avalanche]: {
67+
// notifyText: 'Swap tokens directly in the Aave App',
68+
// buttonText: 'Swap Now',
69+
// buttonAction: {
70+
// type: 'function' as const,
71+
// value: () => openSwitch('', ChainId.avalanche),
72+
// },
73+
// bannerVersion: 'avalanche-swap-v1',
74+
// icon: '/icons/networks/avalanche.svg',
75+
// },
7676

77-
[ChainId.arbitrum_one]: {
78-
notifyText: 'Swap tokens directly in the Aave App',
79-
buttonText: 'Swap Now',
80-
buttonAction: {
81-
type: 'function' as const,
82-
value: () => openSwitch('', ChainId.arbitrum_one),
83-
},
84-
bannerVersion: 'arbitrum-swap-v1',
85-
icon: '/icons/networks/arbitrum.svg',
86-
},
77+
// [ChainId.arbitrum_one]: {
78+
// notifyText: 'Swap tokens directly in the Aave App',
79+
// buttonText: 'Swap Now',
80+
// buttonAction: {
81+
// type: 'function' as const,
82+
// value: () => openSwitch('', ChainId.arbitrum_one),
83+
// },
84+
// bannerVersion: 'arbitrum-swap-v1',
85+
// icon: '/icons/networks/arbitrum.svg',
86+
// },
8787

88-
[ChainId.optimism]: {
89-
notifyText: 'Swap tokens directly in the Aave App',
90-
buttonText: 'Swap Now',
91-
buttonAction: {
92-
type: 'function' as const,
93-
value: () => openSwitch('', ChainId.optimism),
94-
},
95-
bannerVersion: 'optimism-swap-v1',
96-
icon: '/icons/networks/optimism.svg',
97-
},
88+
// [ChainId.optimism]: {
89+
// notifyText: 'Swap tokens directly in the Aave App',
90+
// buttonText: 'Swap Now',
91+
// buttonAction: {
92+
// type: 'function' as const,
93+
// value: () => openSwitch('', ChainId.optimism),
94+
// },
95+
// bannerVersion: 'optimism-swap-v1',
96+
// icon: '/icons/networks/optimism.svg',
97+
// },
9898

99-
[ChainId.xdai]: {
100-
notifyText: 'Swap tokens directly in the Aave App',
101-
buttonText: 'Swap Now',
102-
buttonAction: {
103-
type: 'function' as const,
104-
value: () => openSwitch('', ChainId.xdai),
105-
},
106-
bannerVersion: 'gnosis-swap-v1',
107-
icon: '/icons/networks/gnosis.svg',
108-
},
99+
// [ChainId.xdai]: {
100+
// notifyText: 'Swap tokens directly in the Aave App',
101+
// buttonText: 'Swap Now',
102+
// buttonAction: {
103+
// type: 'function' as const,
104+
// value: () => openSwitch('', ChainId.xdai),
105+
// },
106+
// bannerVersion: 'gnosis-swap-v1',
107+
// icon: '/icons/networks/gnosis.svg',
108+
// },
109109

110-
[ChainId.bnb]: {
111-
notifyText: 'Swap tokens directly in the Aave App',
112-
buttonText: 'Swap Now',
113-
buttonAction: {
114-
type: 'function' as const,
115-
value: () => openSwitch('', ChainId.bnb),
116-
},
117-
bannerVersion: 'binance-swap-v1',
118-
icon: '/icons/networks/binance.svg',
119-
},
110+
// [ChainId.bnb]: {
111+
// notifyText: 'Swap tokens directly in the Aave App',
112+
// buttonText: 'Swap Now',
113+
// buttonAction: {
114+
// type: 'function' as const,
115+
// value: () => openSwitch('', ChainId.bnb),
116+
// },
117+
// bannerVersion: 'binance-swap-v1',
118+
// icon: '/icons/networks/binance.svg',
119+
// },
120120
});
121121

122122
export function MainLayout({ children }: { children: ReactNode }) {

0 commit comments

Comments
 (0)