1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Making statement simpler to read

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev 2020-12-09 16:08:13 +03:00
parent 939035a16f
commit 455f035e0d

View File

@ -97,7 +97,7 @@ export class PodLogList extends React.Component<Props> {
const { scrollHeight, clientHeight } = this.virtualListDiv.current;
const { scrollOffset } = props;
this.isLastLineVisible = clientHeight + scrollOffset === scrollHeight;
this.isLastLineVisible = (clientHeight + scrollOffset) === scrollHeight;
};
/**