Skip to content

Commit 41e0dc2

Browse files
committed
Remove unnecessary null check
1 parent 978af54 commit 41e0dc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/ql-vscode/src/view/results/result-tables.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ function renderResultCountString(resultSet: ResultSet): JSX.Element {
7979
}
8080

8181
function getInterpretedTableName(interpretation: Interpretation): string {
82-
return interpretation?.data.t === "GraphInterpretationData"
82+
return interpretation.data.t === "GraphInterpretationData"
8383
? GRAPH_TABLE_NAME
8484
: ALERTS_TABLE_NAME;
8585
}

0 commit comments

Comments
 (0)