web: Components: Fixed ESLint warnings for Paging, Row and RowContainer components after remove imports.
This commit is contained in:
parent
2d28373abf
commit
12730cebaa
@ -4,8 +4,6 @@ import PropTypes from 'prop-types'
|
||||
|
||||
import Button from '../button'
|
||||
import ComboBox from '../combobox'
|
||||
import { mobile } from '../../utils/device'
|
||||
|
||||
|
||||
const StyledPaging = styled.div`
|
||||
display: flex;
|
||||
|
@ -36,7 +36,9 @@ class RowContainer extends React.PureComponent {
|
||||
window.removeEventListener('contextmenu', this.onRowContextClick);
|
||||
}
|
||||
|
||||
// eslint-disable-next-line react/prop-types
|
||||
renderRow = memo(({ data, index, style }) => {
|
||||
// eslint-disable-next-line react/prop-types
|
||||
const options = data[index].props.contextOptions;
|
||||
|
||||
return (
|
||||
|
@ -1,4 +1,4 @@
|
||||
import React, { memo } from 'react'
|
||||
import React from 'react'
|
||||
import styled from 'styled-components'
|
||||
import PropTypes from 'prop-types'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user