From 83af702f1cae043902e23e9358c3e036ddca8d33 Mon Sep 17 00:00:00 2001
From: Florian Dold <florian.dold@gmail.com>
Date: Wed, 3 Jun 2020 16:46:25 +0530
Subject: re-indent with latest version of prettier

---
 src/webex/pages/welcome.tsx | 23 ++++++++++-------------
 1 file changed, 10 insertions(+), 13 deletions(-)

(limited to 'src/webex/pages/welcome.tsx')

diff --git a/src/webex/pages/welcome.tsx b/src/webex/pages/welcome.tsx
index 8d4920cac..a7c24d659 100644
--- a/src/webex/pages/welcome.tsx
+++ b/src/webex/pages/welcome.tsx
@@ -108,19 +108,16 @@ export function PermissionsCheckbox(): JSX.Element {
       const granted = await new Promise<boolean>((resolve, reject) => {
         // We set permissions here, since apparently FF wants this to be done
         // as the result of an input event ...
-        getPermissionsApi().request(
-          extendedPermissions,
-          (granted: boolean) => {
-            if (chrome.runtime.lastError) {
-              console.error("error requesting permissions");
-              console.error(chrome.runtime.lastError);
-              reject(chrome.runtime.lastError);
-              return;
-            }
-            console.log("permissions granted:", granted);
-            resolve(granted);
-          },
-        );
+        getPermissionsApi().request(extendedPermissions, (granted: boolean) => {
+          if (chrome.runtime.lastError) {
+            console.error("error requesting permissions");
+            console.error(chrome.runtime.lastError);
+            reject(chrome.runtime.lastError);
+            return;
+          }
+          console.log("permissions granted:", granted);
+          resolve(granted);
+        });
       });
       const res = await wxApi.setExtendedPermissions(granted);
       console.log(res);
-- 
cgit v1.2.3

