Skip to content

Commit

Permalink
feat(swap): add contact for pbtc on gnosis
Browse files Browse the repository at this point in the history
  • Loading branch information
envin3 committed Mar 1, 2024
1 parent 172f6fd commit f3e4ec2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions src/components/pages/swap/Swap.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -507,9 +507,7 @@ const Swap = ({
<WarningEta>High price impact!</WarningEta>
) : null}
{!onPnetworkV2 ? (
<WarningEta>
This swap is still not supported by pNetwork v2. Please visit dapp-legacy.ptokens.io.
</WarningEta>
<WarningEta>This swap is not supported by pNetwork v2. Please write to [email protected].</WarningEta>
) : null}
<ContainerSwapButton>
<Button
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/use-swap.js
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ const useSwap = ({
}

if (!onPnetworkV2) {
updateSwapButton('Go to Legacy dApp', false, getLegacyUrl(from, to))
updateSwapButton('Disabled Swap', true)
return
}

Expand Down

0 comments on commit f3e4ec2

Please sign in to comment.