Skip to content

Commit

Permalink
fix: direct to lockstacks
Browse files Browse the repository at this point in the history
  • Loading branch information
kyranjamie committed May 14, 2024
1 parent 18b451b commit 4995138
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/components/home/stacking-promo-card.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { AbstractBtcChartSvg } from '@components/svg/abstract-btc-chart';
import routes from '@constants/routes.json';
import { useFetchDelegationStatus } from '@hooks/use-fetch-delegation-status';
import { useMempool } from '@hooks/use-mempool';
import { Box, Button, color, Flex, Text } from '@stacks/ui';
import { selectPoxInfo } from '@store/stacking';
import { openExternalLink } from '@utils/external-links';
import { isDelegateStxTx } from '@utils/tx-utils';
import React, { FC, useEffect } from 'react';
import { FC, useEffect } from 'react';
import { useSelector } from 'react-redux';
import { useHistory } from 'react-router-dom';

Expand Down Expand Up @@ -51,7 +51,7 @@ export const StackingPromoCard: FC = () => {
alignSelf="flex-start"
mode="tertiary"
isDisabled={hasPendingDelegateStxCall}
onClick={() => history.push(routes.CHOOSE_STACKING_METHOD)}
onClick={() => openExternalLink('https://lockstacks.com')}
>
{'Get stacking on Lockstacks →'}
</Button>
Expand Down

0 comments on commit 4995138

Please sign in to comment.