aboutsummaryrefslogtreecommitdiff
path: root/packages/aml-backoffice-ui/src/context/config.ts
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2024-04-11 23:48:55 -0300
committerSebastian <sebasjm@gmail.com>2024-04-11 23:48:55 -0300
commit9bafc6864b9e0ef237b6975165f23ba31f0d8d88 (patch)
treeb8b12d8b78c874384368adc5a8600363c04b54c5 /packages/aml-backoffice-ui/src/context/config.ts
parent516bda58bb53738fa4d2ae0b10a25e53c138180b (diff)
downloadwallet-core-9bafc6864b9e0ef237b6975165f23ba31f0d8d88.tar.xz
fix AML spa memo and fix #8615
Diffstat (limited to 'packages/aml-backoffice-ui/src/context/config.ts')
-rw-r--r--packages/aml-backoffice-ui/src/context/config.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/aml-backoffice-ui/src/context/config.ts b/packages/aml-backoffice-ui/src/context/config.ts
index 7004225eb..42f73428a 100644
--- a/packages/aml-backoffice-ui/src/context/config.ts
+++ b/packages/aml-backoffice-ui/src/context/config.ts
@@ -67,7 +67,7 @@ export const ExchangeApiProvider = ({
.then((resp) => {
if (resp.type === "fail") {
setChecked({ type: "error", error: TalerError.fromUncheckedDetail(resp.detail) });
- }else if (api.isCompatible(resp.body.version)) {
+ } else if (api.isCompatible(resp.body.version)) {
setChecked({ type: "ok", config: resp.body });
} else {
setChecked({ type: "incompatible", result: resp.body, supported: api.PROTOCOL_VERSION })