web: Components: Fixed ESLint warnings for Paging, Row and RowContainer components after remove imports.

This commit is contained in:
Ilya Oleshko 2019-09-18 16:40:13 +03:00
parent 2d28373abf
commit 12730cebaa
3 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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 (

View File

@ -1,4 +1,4 @@
import React, { memo } from 'react'
import React from 'react'
import styled from 'styled-components'
import PropTypes from 'prop-types'