Remove React, PureComponent global import, added those imports to files directly
• Remove: - React, PureComponent global import and added those imports to files directly
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import React from 'react'
|
||||
import { CX } from '../constants'
|
||||
|
||||
const COLORS = {
|
||||
@@ -5,7 +6,7 @@ const COLORS = {
|
||||
brand: 'brand',
|
||||
}
|
||||
|
||||
class Pagination extends PureComponent {
|
||||
class Pagination extends React.PureComponent {
|
||||
|
||||
handleClickIndex = (i) => {
|
||||
this.props.onClick(i)
|
||||
|
||||
Reference in New Issue
Block a user