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 { defineMessages, injectIntl } from 'react-intl'
|
||||
import spring from 'react-motion/lib/spring'
|
||||
import Motion from '../features/ui/util/reduced_motion'
|
||||
@@ -9,7 +10,7 @@ const messages = defineMessages({
|
||||
|
||||
export default
|
||||
@injectIntl
|
||||
class UploadArea extends PureComponent {
|
||||
class UploadArea extends React.PureComponent {
|
||||
|
||||
static propTypes = {
|
||||
active: PropTypes.bool,
|
||||
|
||||
Reference in New Issue
Block a user