Skip to content

Commit 110841d

Browse files
committed
chore: Remove support link on home page
1 parent 1d1f5f3 commit 110841d

File tree

2 files changed

+5
-46
lines changed

2 files changed

+5
-46
lines changed

ui/components/app/wallet-overview/index.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
display: flex;
3535
flex-direction: row;
3636
height: 100%;
37-
margin-bottom: 16px;
37+
margin-bottom: 12px;
3838
padding: 0 16px;
3939
width: 100%;
4040

ui/components/multichain/account-overview/account-overview-tabs.tsx

+4-45
Original file line numberDiff line numberDiff line change
@@ -97,23 +97,6 @@ export const AccountOverviewTabs = ({
9797
[onTabClick],
9898
);
9999

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-
117100
const onClickAsset = useCallback(
118101
(chainId: string, asset: string) =>
119102
history.push(`${ASSET_ROUTE}/${chainId}/${encodeURIComponent(asset)}`),
@@ -134,20 +117,14 @@ export const AccountOverviewTabs = ({
134117
data-testid="account-overview__asset-tab"
135118
{...tabProps}
136119
>
137-
<Box marginTop={2}>
120+
<Box
121+
marginTop={2}
122+
marginBottom={2}
123+
>
138124
<AssetList
139125
showTokensLinks={showTokensLinks ?? true}
140126
onClickAsset={onClickAsset}
141127
/>
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-
}
151128
</Box>
152129
</Tab>
153130
)}
@@ -160,15 +137,6 @@ export const AccountOverviewTabs = ({
160137
{...tabProps}
161138
>
162139
<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-
}
172140
</Tab>
173141
)}
174142

@@ -180,15 +148,6 @@ export const AccountOverviewTabs = ({
180148
{...tabProps}
181149
>
182150
<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-
}
192151
</Tab>
193152
)}
194153
</Tabs>

0 commit comments

Comments
 (0)