aboutsummaryrefslogtreecommitdiff
path: root/packages/demobank-ui/src/utils.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/demobank-ui/src/utils.ts')
-rw-r--r--packages/demobank-ui/src/utils.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/demobank-ui/src/utils.ts b/packages/demobank-ui/src/utils.ts
index 18abf28a9..805d68660 100644
--- a/packages/demobank-ui/src/utils.ts
+++ b/packages/demobank-ui/src/utils.ts
@@ -108,12 +108,12 @@ export async function withRuntimeErrorHandling<T>(i18n: Translator, cb: () => Pr
? error.message
: JSON.stringify(error)) as TranslatedString
)
- }
+ }
}
}
-export function buildRequestErrorMessage( i18n: Translator, cause: TalerError): ErrorNotification {
+export function buildRequestErrorMessage(i18n: Translator, cause: TalerError): ErrorNotification {
let result: ErrorNotification;
switch (cause.errorDetail.code) {
case TalerErrorCode.WALLET_HTTP_REQUEST_GENERIC_TIMEOUT: {