Skip to content

Commit acefe2d

Browse files
committed
ui-speedspacechart: remove dead code
The right-hand-side of the expression is never used, because a non-empty string is always truthy. Signed-off-by: Simon Ser <[email protected]>
1 parent da48896 commit acefe2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui-speedspacechart/src/components/common/DetailsBox.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ const DetailsBox = ({
9090
{declivities && (
9191
<>
9292
<hr />
93-
<span id="previous-gradient-text">{`${previousGradientText} ‰` || '--'}</span>
93+
<span id="previous-gradient-text">{`${previousGradientText} ‰`}</span>
9494
</>
9595
)}
9696
</div>

0 commit comments

Comments
 (0)