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,4 +1,4 @@
|
||||
|
||||
import React from 'react'
|
||||
import { defineMessages, injectIntl } from 'react-intl'
|
||||
import { setFilter } from '../actions/notifications'
|
||||
import { me } from '../initial_state'
|
||||
@@ -12,7 +12,7 @@ import {
|
||||
WhoToFollowPanel,
|
||||
} from '../features/ui/util/async_components'
|
||||
|
||||
class NotificationsPage extends PureComponent {
|
||||
class NotificationsPage extends React.PureComponent {
|
||||
|
||||
onChangeActiveFilter(notificationType) {
|
||||
this.props.dispatch(setFilter('active', notificationType))
|
||||
|
||||
Reference in New Issue
Block a user