fix: show withdraw errors

This commit is contained in:
2024-07-19 14:52:39 +01:00
parent bd312f553f
commit 0006b16314

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