From 37f46f4d6b821d163c3e4db5c374b1120212ac74 Mon Sep 17 00:00:00 2001
From: Sebastian <sebasjm@gmail.com>
Date: Mon, 11 Mar 2024 14:56:25 -0300
Subject: obs and cancel request, plus lint

---
 packages/bank-ui/src/pages/QrCodeSection.tsx | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

(limited to 'packages/bank-ui/src/pages/QrCodeSection.tsx')

diff --git a/packages/bank-ui/src/pages/QrCodeSection.tsx b/packages/bank-ui/src/pages/QrCodeSection.tsx
index da11e631d..f442857a8 100644
--- a/packages/bank-ui/src/pages/QrCodeSection.tsx
+++ b/packages/bank-ui/src/pages/QrCodeSection.tsx
@@ -17,13 +17,13 @@
 import {
   HttpStatusCode,
   stringifyWithdrawUri,
-  WithdrawUriResult
+  WithdrawUriResult,
 } from "@gnu-taler/taler-util";
 import {
   Button,
   LocalNotificationBanner,
   useLocalNotificationHandler,
-  useTranslationContext
+  useTranslationContext,
 } from "@gnu-taler/web-util/browser";
 import { Fragment, h, VNode } from "preact";
 import { useEffect } from "preact/hooks";
@@ -56,20 +56,20 @@ export function QrCodeSection({
   const onAbortHandler = handleError(
     async () => {
       if (!creds) return undefined;
-      return api.abortWithdrawalById(
-        creds,
-        withdrawUri.withdrawalOperationId,
-      )
+      return api.abortWithdrawalById(creds, withdrawUri.withdrawalOperationId);
     },
     onAborted,
     (fail) => {
       switch (fail.case) {
-        case HttpStatusCode.BadRequest: return i18n.str`The operation id is invalid.`;
-        case HttpStatusCode.NotFound: return i18n.str`The operation was not found.`;
-        case HttpStatusCode.Conflict: return i18n.str`The reserve operation has been confirmed previously and can't be aborted`;
+        case HttpStatusCode.BadRequest:
+          return i18n.str`The operation id is invalid.`;
+        case HttpStatusCode.NotFound:
+          return i18n.str`The operation was not found.`;
+        case HttpStatusCode.Conflict:
+          return i18n.str`The reserve operation has been confirmed previously and can't be aborted`;
       }
-    }
-  )
+    },
+  );
 
   return (
     <Fragment>
-- 
cgit v1.2.3

