fix: show withdraw errors

This commit is contained in:
kieran 2024-07-19 14:52:39 +01:00
parent bd312f553f
commit 0006b16314
No known key found for this signature in database
GPG Key ID: DE71CEB3925BE941

View File

@ -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) {