@@ -97,23 +97,6 @@ export const AccountOverviewTabs = ({
97
97
[ onTabClick ] ,
98
98
) ;
99
99
100
- ///: BEGIN:ONLY_INCLUDE_IF(build-main)
101
- const NeedHelpButtonLink = React . memo ( ( props : Record < string , unknown > ) => (
102
- < ButtonLink
103
- size = { ButtonLinkSize . Md }
104
- startIconName = { IconName . MessageQuestion }
105
- data-testid = "need-help-link"
106
- href = { SUPPORT_LINK }
107
- display = { Display . Flex }
108
- onClick = { onSupportLinkClick }
109
- externalLink
110
- { ...props }
111
- >
112
- { t ( 'needHelpLinkText' ) }
113
- </ ButtonLink >
114
- ) ) ;
115
- ///: END:ONLY_INCLUDE_IF
116
-
117
100
const onClickAsset = useCallback (
118
101
( chainId : string , asset : string ) =>
119
102
history . push ( `${ ASSET_ROUTE } /${ chainId } /${ encodeURIComponent ( asset ) } ` ) ,
@@ -134,20 +117,14 @@ export const AccountOverviewTabs = ({
134
117
data-testid = "account-overview__asset-tab"
135
118
{ ...tabProps }
136
119
>
137
- < Box marginTop = { 2 } >
120
+ < Box
121
+ marginTop = { 2 }
122
+ marginBottom = { 2 }
123
+ >
138
124
< AssetList
139
125
showTokensLinks = { showTokensLinks ?? true }
140
126
onClickAsset = { onClickAsset }
141
127
/>
142
- {
143
- ///: BEGIN:ONLY_INCLUDE_IF(build-main)
144
- < NeedHelpButtonLink
145
- justifyContent = { JustifyContent . flexStart }
146
- paddingLeft = { 4 }
147
- marginBottom = { 4 }
148
- > </ NeedHelpButtonLink >
149
- ///: END:ONLY_INCLUDE_IF
150
- }
151
128
</ Box >
152
129
</ Tab >
153
130
) }
@@ -160,15 +137,6 @@ export const AccountOverviewTabs = ({
160
137
{ ...tabProps }
161
138
>
162
139
< NftsTab />
163
- {
164
- ///: BEGIN:ONLY_INCLUDE_IF(build-main)
165
- < NeedHelpButtonLink
166
- justifyContent = { JustifyContent . flexStart }
167
- paddingLeft = { 4 }
168
- marginBottom = { 4 }
169
- > </ NeedHelpButtonLink >
170
- ///: END:ONLY_INCLUDE_IF
171
- }
172
140
</ Tab >
173
141
) }
174
142
@@ -180,15 +148,6 @@ export const AccountOverviewTabs = ({
180
148
{ ...tabProps }
181
149
>
182
150
< TransactionList boxProps = { { paddingTop : 3 } } />
183
- {
184
- ///: BEGIN:ONLY_INCLUDE_IF(build-main)
185
- < NeedHelpButtonLink
186
- justifyContent = { JustifyContent . center }
187
- marginBottom = { 4 }
188
- marginTop = { 4 }
189
- > </ NeedHelpButtonLink >
190
- ///: END:ONLY_INCLUDE_IF
191
- }
192
151
</ Tab >
193
152
) }
194
153
</ Tabs >
0 commit comments