diff --git a/src/element/provider/nostr/withdraw.tsx b/src/element/provider/nostr/withdraw.tsx index d327edd..68cd446 100644 --- a/src/element/provider/nostr/withdraw.tsx +++ b/src/element/provider/nostr/withdraw.tsx @@ -57,6 +57,8 @@ export default function AccountWithdrawl({ if (res.preimage) { setTopup(false); onFinish(); + } else if (res.error) { + setError(res.error); } } catch (e) { if (e instanceof Error) {