From a963ceae2f774900d5a2e6f709f8189341ad7e36 Mon Sep 17 00:00:00 2001
From: Akshit Singla <71206933+Aktindo@users.noreply.github.com>
Date: Wed, 17 Apr 2024 22:38:10 +0530
Subject: [PATCH] v3.0.0-beta.9
---
client/src/App.tsx | 21 ++++++++++++---------
1 file changed, 12 insertions(+), 9 deletions(-)
diff --git a/client/src/App.tsx b/client/src/App.tsx
index b46f355..8b5d0c7 100644
--- a/client/src/App.tsx
+++ b/client/src/App.tsx
@@ -30,7 +30,7 @@ const AppComp: React.FC = () => {
const location = useLocation();
const [updateModalVisible, setUpdateModalVisible] = React.useState(false);
const [updateMessage, setUpdateMessage] = useState("");
- const [updateDownloaded, setUpdateDownloaded] = useState(false)
+ const [updateDownloaded, setUpdateDownloaded] = useState(false);
const [verificationModalVisible, setVerificationModalVisible] =
React.useState(false);
@@ -54,7 +54,7 @@ const AppComp: React.FC = () => {
});
ipcRenderer.on("update_downloaded", (e, msg) => {
- setUpdateMessage(msg)
+ setUpdateMessage(msg);
setUpdateModalVisible(true);
setUpdateDownloaded(true);
});
@@ -112,13 +112,16 @@ const AppComp: React.FC = () => {
- {updateDownloaded &&
-
-
- }
-
+ {updateDownloaded && (
+
+
+
+ )}
>
)}