chore: repair eslint errors
parent
5f7b4d259a
commit
73f7efd513
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue