fix: show withdraw errors
This commit is contained in:
parent
bd312f553f
commit
0006b16314
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user