Skip to content

Commit d63a209

Browse files
committed
Make conditional statement more explicit
1 parent 9d26304 commit d63a209

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/ql-vscode/src/remote-queries/view/LastUpdated.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const LastUpdated = ({ lastUpdated }: Props) => (
2525
<RepoPushIcon size={16} />
2626
</IconContainer>
2727
<Duration>
28-
{humanizeDuration(lastUpdated && -lastUpdated)}
28+
{humanizeDuration(lastUpdated === undefined ? undefined : -lastUpdated)}
2929
</Duration>
3030
</>
3131
) : (

0 commit comments

Comments
 (0)