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

@@ -1,4 +1,4 @@
import { Fragment } from 'react'
import React from 'react'
import ImmutablePureComponent from 'react-immutable-pure-component'
import ImmutablePropTypes from 'react-immutable-proptypes'
import { injectIntl, defineMessages } from 'react-intl'
@@ -136,7 +136,7 @@ class GroupTimeline extends ImmutablePureComponent {
}
return (
<Fragment>
<React.Fragment>
<GroupSortBlock />
<StatusList
scrollKey={`group-timeline-${groupId}`}
@@ -144,7 +144,7 @@ class GroupTimeline extends ImmutablePureComponent {
onLoadMore={this.handleLoadMore}
emptyMessage={intl.formatMessage(messages.empty)}
/>
</Fragment>
</React.Fragment>
)
}