chore: repair eslint errors

pull/5690/head
Pavel Zavora 2021-03-08 22:29:18 +01:00
parent 5f7b4d259a
commit 73f7efd513
1 changed files with 3 additions and 2 deletions

View File

@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/ban-types */
import * as React from 'react'
import _ from 'lodash'
import FancyScrollbar from 'src/shared/components/FancyScrollbar'
@ -223,7 +224,7 @@ class MultiGrid extends React.PureComponent<PropsMultiGrid, State> {
private getLeftGridWidth(props: PropsMultiGrid) {
const {fixedColumnCount, columnWidth} = props
if (this.leftGridWidth == null) {
if (this.leftGridWidth === null) {
if (typeof columnWidth === 'function') {
let leftGridWidth = 0
@ -248,7 +249,7 @@ class MultiGrid extends React.PureComponent<PropsMultiGrid, State> {
private getTopGridHeight(props: PropsMultiGrid) {
const {fixedRowCount, rowHeight} = props
if (this.topGridHeight == null) {
if (this.topGridHeight === null) {
if (typeof rowHeight === 'function') {
let topGridHeight = 0