Skip to content

Commit

Permalink
fix(Wallet): add missing guide link (#1406)
Browse files Browse the repository at this point in the history
* fix(Wallet): add missing guide link

* Update WelcomeBanner.tsx
  • Loading branch information
danielsimao authored Jul 4, 2023
1 parent ee152f2 commit 746589d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { P, Switch, TextLink, theme } from '@/component-library';
import { useMediaQuery } from '@/component-library/utils/use-media-query';
import { Cell } from '@/components';
import { AssetCell, DataGrid } from '@/components/DataGrid';
import { INTERLAY_GET_ASSETS_LINK } from '@/config/links';
import { GOVERNANCE_TOKEN, WRAPPED_TOKEN } from '@/config/relay-chains';
import { FEE_TICKERS } from '@/utils/constants/currency';
import { EXTERNAL_QUERY_PARAMETERS } from '@/utils/constants/links';
Expand Down Expand Up @@ -66,7 +67,7 @@ const AvailableAssetsTable = ({ balances, pooledTickers }: AvailableAssetsTableP
external
icon
to={{
pathname: 'https://docs.interlay.io/#/guides/assets',
pathname: INTERLAY_GET_ASSETS_LINK,
search: queryString.stringify({
[EXTERNAL_QUERY_PARAMETERS.DOCS.ASSET.ID]: currency.ticker.toLowerCase()
})
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { useTranslation } from 'react-i18next';

import { Flex } from '@/component-library';
import { INTERLAY_WHITEPAPPER } from '@/config/links';
import { INTERLAY_GET_ASSETS_LINK, INTERLAY_WHITEPAPPER } from '@/config/links';
import { APP_NAME, WRAPPED_TOKEN } from '@/config/relay-chains';
import { PAGES } from '@/utils/constants/links';

Expand Down Expand Up @@ -43,8 +43,7 @@ const WelcomeBanner = ({ onClose }: WelcomeBannerProps): JSX.Element => {
<StyledCTALink fullWidth external icon to={INTERLAY_WHITEPAPPER}>
Whitepaper
</StyledCTALink>
{/* TODO: to be added */}
<StyledCTALink fullWidth external icon to={'#'}>
<StyledCTALink fullWidth external icon to={INTERLAY_GET_ASSETS_LINK}>
Fund Wallet Guide
</StyledCTALink>
<StyledCTALink fullWidth to={PAGES.ONBOARDING}>
Expand Down

2 comments on commit 746589d

@vercel
Copy link

@vercel vercel bot commented on 746589d Jul 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 746589d Jul 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.