From 6aacb7754518d15828a8535b70f5131779ade599 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Quentin=20Guid=C3=A9e?= Date: Fri, 27 Oct 2023 10:50:41 -0400 Subject: [PATCH] Fix the check for empty update MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Quentin Guidée --- src/apps/Settings/SettingsUpdates/SettingsUpdates.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/apps/Settings/SettingsUpdates/SettingsUpdates.tsx b/src/apps/Settings/SettingsUpdates/SettingsUpdates.tsx index 26bbe730..481a5a57 100644 --- a/src/apps/Settings/SettingsUpdates/SettingsUpdates.tsx +++ b/src/apps/Settings/SettingsUpdates/SettingsUpdates.tsx @@ -71,7 +71,7 @@ export default function SettingsUpdates() { /> - {update === undefined && !isLoadingUpdate && ( + {update === null && !isLoadingUpdate && ( @@ -80,7 +80,7 @@ export default function SettingsUpdates() { )} - {update !== undefined && ( + {update !== null && (