Making statement simpler to read

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev committed 2020-12-09 16:08:13 +03:00
1 parent 939035a16f
commit 455f035e0d
1 file changed
+1 -1
@@ -97,7 +97,7 @@ export class PodLogList extends React.Component<Props> {
const { scrollHeight, clientHeight } = this.virtualListDiv.current; const { scrollHeight, clientHeight } = this.virtualListDiv.current;
const { scrollOffset } = props; const { scrollOffset } = props;
this.isLastLineVisible = clientHeight + scrollOffset === scrollHeight; this.isLastLineVisible = (clientHeight + scrollOffset) === scrollHeight;
}; };
/** /**