Skip to content

Commit

Permalink
fix possibly undefined issue
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelSun48 committed Jan 17, 2025
1 parent 05ead75 commit ede7678
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export function IssueViewQueryCount({view}: IssueViewQueryCountProps) {
? 0
: Object.keys(queryCount ?? {}).length > 0 &&
queryCount?.[Object.keys(queryCount)[0]!]
? queryCount?.[Object.keys(queryCount)[0]!]
? queryCount?.[Object.keys(queryCount)[0]!] ?? 0
: 0;

return (
Expand Down

0 comments on commit ede7678

Please sign in to comment.