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:
mgabdev
2020-08-17 15:07:16 -05:00
parent 92a89e2425
commit 43e384554c
293 changed files with 572 additions and 313 deletions

View File

@@ -38,6 +38,7 @@ import {
VideoStatsPopover,
} from '../../features/ui/util/async_components'
import React from 'react'
import { closePopover } from '../../actions/popover'
import { getWindowDimension } from '../../utils/is_mobile'
import Bundle from '../../features/ui/util/bundle'
@@ -78,7 +79,7 @@ const mapDispatchToProps = (dispatch) => ({
export default
@connect(mapStateToProps, mapDispatchToProps)
class PopoverRoot extends PureComponent {
class PopoverRoot extends React.PureComponent {
static propTypes = {
type: PropTypes.string,