parent
beb9aae26b
commit
287173458f
@ -72,7 +72,7 @@ function Updatable(props: CommonProps) {
|
|||||||
const [isChecking, setIsChecking] = React.useState(false);
|
const [isChecking, setIsChecking] = React.useState(false);
|
||||||
const [isUpdating, setIsUpdating] = React.useState(false);
|
const [isUpdating, setIsUpdating] = React.useState(false);
|
||||||
|
|
||||||
const isOutdated = updates.length > 0;
|
const isOutdated = (updates?.length ?? 0) > 0;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
|
Loading…
Reference in New Issue
Block a user