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 { defineMessages, injectIntl } from 'react-intl'
import ImmutablePropTypes from 'react-immutable-proptypes'
import ImmutablePureComponent from 'react-immutable-pure-component'
@@ -37,10 +37,10 @@ class GroupPage extends ImmutablePureComponent {
{
!!relationships && isTimeline && relationships.get('member') &&
<Fragment>
<React.Fragment>
<TimelineComposeBlock size={46} groupId={groupId} autoFocus />
<Divider />
</Fragment>
</React.Fragment>
}
{children}