diff --git a/pages/withdrawals/[id].js b/pages/withdrawals/[id].js index ab8ed855..a4f30158 100644 --- a/pages/withdrawals/[id].js +++ b/pages/withdrawals/[id].js @@ -5,6 +5,7 @@ import InputGroup from 'react-bootstrap/InputGroup' import InvoiceStatus from '../../components/invoice-status' import { useRouter } from 'next/router' import { WITHDRAWL } from '../../fragments/wallet' +import Link from 'next/link' export default function Withdrawl () { return ( @@ -39,6 +40,11 @@ function LoadWithdrawl () { return } + const TryMaxFee = () => + + try increasing max fee + + let status = 'pending' let variant = 'default' switch (data.withdrawl.status) { @@ -55,11 +61,11 @@ function LoadWithdrawl () { variant = 'failed' break case 'PATHFINDING_TIMEOUT': - status = <>timed out finding route try increasing max fee + status = <>timed out finding route variant = 'failed' break case 'ROUTE_NOT_FOUND': - status = <>no route try increasing max fee + status = <>no route variant = 'failed' break case 'UNKNOWN_FAILURE':