aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/components/Updater.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/Updater.tsx b/src/components/Updater.tsx
index 153d5e5..1e4036e 100644
--- a/src/components/Updater.tsx
+++ b/src/components/Updater.tsx
@@ -72,7 +72,7 @@ function Updatable(props: CommonProps) {
const [isChecking, setIsChecking] = React.useState(false);
const [isUpdating, setIsUpdating] = React.useState(false);
- const isOutdated = updates.length > 0;
+ const isOutdated = (updates?.length ?? 0) > 0;
return (
<>