Remove unnecessary null check

This commit is contained in:
Koen Vlaswinkel
2023-04-11 10:30:32 +02:00
parent 978af54e2a
commit 41e0dc2961

View File

@@ -79,7 +79,7 @@ function renderResultCountString(resultSet: ResultSet): JSX.Element {
}
function getInterpretedTableName(interpretation: Interpretation): string {
return interpretation?.data.t === "GraphInterpretationData"
return interpretation.data.t === "GraphInterpretationData"
? GRAPH_TABLE_NAME
: ALERTS_TABLE_NAME;
}