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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user