Skip to content

Commit

Permalink
Merge branch 'fix-otc-link'
Browse files Browse the repository at this point in the history
  • Loading branch information
sutterseba authored Feb 24, 2025
2 parents 85995bc + 07d749a commit 55c467d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions frontends/web/src/routes/exchange/btcdirect-otc.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import { useTranslation } from 'react-i18next';
import { useNavigate } from 'react-router-dom';
import { BTCDirectOTCTerms } from '@/components/terms/btcdirect-otc-terms';
import { getBTCDirectAboutUsLink } from './components/infocontent';
import { getBTCDirectOTCLink } from './components/infocontent';
import { Header } from '@/components/layout';
import { open } from '@/api/system';
import style from './iframe.module.css';
Expand All @@ -27,7 +27,7 @@ export const BTCDirectOTC = () => {
const navigate = useNavigate();

const openBTCDirect = () => {
open(getBTCDirectAboutUsLink());
open(getBTCDirectOTCLink());
navigate(-1);
};

Expand Down
4 changes: 2 additions & 2 deletions frontends/web/src/routes/exchange/components/buysell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import { useLoad } from '@/hooks/api';
import * as exchangesAPI from '@/api/exchanges';
import { Button } from '@/components/forms/button';
import { AppContext } from '@/contexts/AppContext';
import { getBTCDirectAboutUsLink, TInfoContentProps, TPaymentFee } from './infocontent';
import { getBTCDirectOTCLink, TInfoContentProps, TPaymentFee } from './infocontent';
import { Skeleton } from '@/components/skeleton/skeleton';
import { hasPaymentRequest } from '@/api/account';
import { Message } from '@/components/message/message';
Expand Down Expand Up @@ -156,7 +156,7 @@ export const BuySell = ({
{t('buy.exchange.infoContent.btcdirect.link')}
</Link>
) : (
<A href={getBTCDirectAboutUsLink()} className={style.link}>
<A href={getBTCDirectOTCLink()} className={style.link}>
{t('buy.exchange.infoContent.btcdirect.link')}
</A>
)}
Expand Down

0 comments on commit 55c467d

Please sign in to comment.