From 7e3f9edacf6a96e821a7e1850b598b6e303fae1c Mon Sep 17 00:00:00 2001
From: AAGaming <aagaming@riseup.net>
Date: Mon, 19 Feb 2024 23:42:24 -0500
Subject: clean up updater logic

---
 frontend/src/components/settings/pages/general/Updater.tsx | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

(limited to 'frontend/src/components/settings/pages/general/Updater.tsx')

diff --git a/frontend/src/components/settings/pages/general/Updater.tsx b/frontend/src/components/settings/pages/general/Updater.tsx
index 29d26435..01aeb4c3 100644
--- a/frontend/src/components/settings/pages/general/Updater.tsx
+++ b/frontend/src/components/settings/pages/general/Updater.tsx
@@ -80,10 +80,9 @@ export default function UpdaterSettings() {
       setIsLoaderUpdating(true);
     });
 
-    const b = DeckyBackend.addEventListener('frontend/finish_download', async () => {
+    const b = DeckyBackend.addEventListener('frontend/finish_download', () => {
       setUpdateProgress(0);
       setReloading(true);
-      await doRestart();
     });
 
     return () => {
-- 
cgit v1.2.3

