Removed connect global import, added to files directly

• Removed:
- connect global import, added to files directly
This commit is contained in:
mgabdev 2020-08-17 15:39:25 -05:00
parent 43e384554c
commit 5a55f89dbe
146 changed files with 145 additions and 1 deletions

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { NavLink } from 'react-router-dom' import { NavLink } from 'react-router-dom'
import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePropTypes from 'react-immutable-proptypes'
import { defineMessages, injectIntl } from 'react-intl' import { defineMessages, injectIntl } from 'react-intl'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePropTypes from 'react-immutable-proptypes'
import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePureComponent from 'react-immutable-pure-component'
import { injectIntl, defineMessages } from 'react-intl' import { injectIntl, defineMessages } from 'react-intl'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { defineMessages, injectIntl } from 'react-intl' import { defineMessages, injectIntl } from 'react-intl'
import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePureComponent from 'react-immutable-pure-component'
import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePropTypes from 'react-immutable-proptypes'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePropTypes from 'react-immutable-proptypes'
import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePureComponent from 'react-immutable-pure-component'
import { makeGetAccount } from '../selectors' import { makeGetAccount } from '../selectors'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePropTypes from 'react-immutable-proptypes'
import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePureComponent from 'react-immutable-pure-component'
import debounce from 'lodash.debounce' import debounce from 'lodash.debounce'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { NavLink } from 'react-router-dom' import { NavLink } from 'react-router-dom'
import { defineMessages, injectIntl, FormattedMessage } from 'react-intl' import { defineMessages, injectIntl, FormattedMessage } from 'react-intl'
import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePropTypes from 'react-immutable-proptypes'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePropTypes from 'react-immutable-proptypes'
import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePureComponent from 'react-immutable-pure-component'
import debounce from 'lodash.debounce' import debounce from 'lodash.debounce'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { defineMessages, injectIntl } from 'react-intl' import { defineMessages, injectIntl } from 'react-intl'
import { me } from '../initial_state' import { me } from '../initial_state'
import { CX } from '../constants' import { CX } from '../constants'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { withRouter } from 'react-router-dom' import { withRouter } from 'react-router-dom'
import { me } from '../initial_state' import { me } from '../initial_state'
import { CX } from '../constants' import { CX } from '../constants'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePropTypes from 'react-immutable-proptypes'
import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePureComponent from 'react-immutable-pure-component'
import { NavLink } from 'react-router-dom' import { NavLink } from 'react-router-dom'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePropTypes from 'react-immutable-proptypes'
import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePureComponent from 'react-immutable-pure-component'
import { defineMessages, injectIntl } from 'react-intl' import { defineMessages, injectIntl } from 'react-intl'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePropTypes from 'react-immutable-proptypes'
import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePureComponent from 'react-immutable-pure-component'
import { NavLink } from 'react-router-dom' import { NavLink } from 'react-router-dom'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { defineMessages, injectIntl } from 'react-intl' import { defineMessages, injectIntl } from 'react-intl'
import { openPopover } from '../actions/popover' import { openPopover } from '../actions/popover'
import { import {

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { is } from 'immutable' import { is } from 'immutable'
import { setHeight } from '../actions/height_cache' import { setHeight } from '../actions/height_cache'
import scheduleIdleTask from '../utils/schedule_idle_task' import scheduleIdleTask from '../utils/schedule_idle_task'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { import {
FormattedMessage, FormattedMessage,
defineMessages, defineMessages,

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import LoadingBar from 'react-redux-loading-bar' import LoadingBar from 'react-redux-loading-bar'
const mapStateToProps = (state, ownProps) => ({ const mapStateToProps = (state, ownProps) => ({

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { injectIntl, defineMessages } from 'react-intl' import { injectIntl, defineMessages } from 'react-intl'
import { makeGetAccount } from '../../selectors' import { makeGetAccount } from '../../selectors'
import { blockAccount } from '../../actions/accounts' import { blockAccount } from '../../actions/accounts'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { defineMessages, injectIntl } from 'react-intl' import { defineMessages, injectIntl } from 'react-intl'
import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePureComponent from 'react-immutable-pure-component'
import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePropTypes from 'react-immutable-proptypes'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { defineMessages, injectIntl, FormattedMessage } from 'react-intl' import { defineMessages, injectIntl, FormattedMessage } from 'react-intl'
import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePureComponent from 'react-immutable-pure-component'
import { openModal } from '../../actions/modal' import { openModal } from '../../actions/modal'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { injectIntl, defineMessages } from 'react-intl' import { injectIntl, defineMessages } from 'react-intl'
import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePropTypes from 'react-immutable-proptypes'
import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePureComponent from 'react-immutable-pure-component'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { defineMessages, injectIntl } from 'react-intl' import { defineMessages, injectIntl } from 'react-intl'
import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePureComponent from 'react-immutable-pure-component'
import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePropTypes from 'react-immutable-proptypes'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { defineMessages, injectIntl } from 'react-intl' import { defineMessages, injectIntl } from 'react-intl'
import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePureComponent from 'react-immutable-pure-component'
import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePropTypes from 'react-immutable-proptypes'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { defineMessages, injectIntl } from 'react-intl' import { defineMessages, injectIntl } from 'react-intl'
import { import {
fetchGifCategories, fetchGifCategories,

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { injectIntl, defineMessages } from 'react-intl' import { injectIntl, defineMessages } from 'react-intl'
import { makeGetAccount } from '../../selectors' import { makeGetAccount } from '../../selectors'
import { blockAccount } from '../../actions/accounts' import { blockAccount } from '../../actions/accounts'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { defineMessages, injectIntl } from 'react-intl' import { defineMessages, injectIntl } from 'react-intl'
import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePureComponent from 'react-immutable-pure-component'
import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePropTypes from 'react-immutable-proptypes'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { defineMessages, injectIntl } from 'react-intl' import { defineMessages, injectIntl } from 'react-intl'
import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePureComponent from 'react-immutable-pure-component'
import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePropTypes from 'react-immutable-proptypes'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePropTypes from 'react-immutable-proptypes'
import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePureComponent from 'react-immutable-pure-component'
import { defineMessages, injectIntl } from 'react-intl' import { defineMessages, injectIntl } from 'react-intl'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePropTypes from 'react-immutable-proptypes'
import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePureComponent from 'react-immutable-pure-component'
import { injectIntl, defineMessages } from 'react-intl' import { injectIntl, defineMessages } from 'react-intl'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { defineMessages, injectIntl } from 'react-intl' import { defineMessages, injectIntl } from 'react-intl'
import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePureComponent from 'react-immutable-pure-component'
import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePropTypes from 'react-immutable-proptypes'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { injectIntl, FormattedMessage, defineMessages } from 'react-intl' import { injectIntl, FormattedMessage, defineMessages } from 'react-intl'
import { getWindowDimension } from '../../utils/is_mobile' import { getWindowDimension } from '../../utils/is_mobile'
import { openModal } from '../../actions/modal' import { openModal } from '../../actions/modal'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { closeModal } from '../../actions/modal' import { closeModal } from '../../actions/modal'
import { cancelReplyCompose } from '../../actions/compose' import { cancelReplyCompose } from '../../actions/compose'
import Bundle from '../../features/ui/util/bundle' import Bundle from '../../features/ui/util/bundle'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { injectIntl, defineMessages } from 'react-intl' import { injectIntl, defineMessages } from 'react-intl'
import { makeGetAccount } from '../../selectors' import { makeGetAccount } from '../../selectors'
import { muteAccount } from '../../actions/accounts' import { muteAccount } from '../../actions/accounts'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { defineMessages, injectIntl } from 'react-intl' import { defineMessages, injectIntl } from 'react-intl'
import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePureComponent from 'react-immutable-pure-component'
import { import {

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { defineMessages, injectIntl } from 'react-intl' import { defineMessages, injectIntl } from 'react-intl'
import { OrderedSet } from 'immutable' import { OrderedSet } from 'immutable'
import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePropTypes from 'react-immutable-proptypes'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { defineMessages, injectIntl } from 'react-intl' import { defineMessages, injectIntl } from 'react-intl'
import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePropTypes from 'react-immutable-proptypes'
import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePureComponent from 'react-immutable-pure-component'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { FormattedMessage } from 'react-intl' import { FormattedMessage } from 'react-intl'
import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePureComponent from 'react-immutable-pure-component'
import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePropTypes from 'react-immutable-proptypes'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePropTypes from 'react-immutable-proptypes'
import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePureComponent from 'react-immutable-pure-component'
import { openSidebar } from '../actions/sidebar' import { openSidebar } from '../actions/sidebar'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { defineMessages, injectIntl } from 'react-intl' import { defineMessages, injectIntl } from 'react-intl'
import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePureComponent from 'react-immutable-pure-component'
import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePropTypes from 'react-immutable-proptypes'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePropTypes from 'react-immutable-proptypes'
import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePureComponent from 'react-immutable-pure-component'
import { defineMessages, injectIntl } from 'react-intl' import { defineMessages, injectIntl } from 'react-intl'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePropTypes from 'react-immutable-proptypes'
import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePureComponent from 'react-immutable-pure-component'
import { defineMessages, injectIntl } from 'react-intl' import { defineMessages, injectIntl } from 'react-intl'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { defineMessages, injectIntl } from 'react-intl' import { defineMessages, injectIntl } from 'react-intl'
import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePureComponent from 'react-immutable-pure-component'
import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePropTypes from 'react-immutable-proptypes'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { defineMessages, injectIntl } from 'react-intl' import { defineMessages, injectIntl } from 'react-intl'
import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePureComponent from 'react-immutable-pure-component'
import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePropTypes from 'react-immutable-proptypes'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { defineMessages, injectIntl } from 'react-intl' import { defineMessages, injectIntl } from 'react-intl'
import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePureComponent from 'react-immutable-pure-component'
import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePropTypes from 'react-immutable-proptypes'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { defineMessages, injectIntl } from 'react-intl' import { defineMessages, injectIntl } from 'react-intl'
import { fetchFeaturedProducts } from '../../actions/shop' import { fetchFeaturedProducts } from '../../actions/shop'
import { URL_DISSENTER_SHOP } from '../../constants' import { URL_DISSENTER_SHOP } from '../../constants'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { NavLink } from 'react-router-dom' import { NavLink } from 'react-router-dom'
import { injectIntl, defineMessages } from 'react-intl' import { injectIntl, defineMessages } from 'react-intl'
import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePropTypes from 'react-immutable-proptypes'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { injectIntl, defineMessages } from 'react-intl' import { injectIntl, defineMessages } from 'react-intl'
import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePureComponent from 'react-immutable-pure-component'
import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePropTypes from 'react-immutable-proptypes'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { NavLink } from 'react-router-dom' import { NavLink } from 'react-router-dom'
import { injectIntl, defineMessages } from 'react-intl' import { injectIntl, defineMessages } from 'react-intl'
import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePropTypes from 'react-immutable-proptypes'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { defineMessages, injectIntl } from 'react-intl' import { defineMessages, injectIntl } from 'react-intl'
import { fetchPopularSuggestions } from '../../actions/suggestions' import { fetchPopularSuggestions } from '../../actions/suggestions'
import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePureComponent from 'react-immutable-pure-component'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { defineMessages, injectIntl } from 'react-intl' import { defineMessages, injectIntl } from 'react-intl'
import { import {
fetchRelatedSuggestions, fetchRelatedSuggestions,

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { defineMessages, injectIntl } from 'react-intl' import { defineMessages, injectIntl } from 'react-intl'
import ContentLoader from 'react-content-loader' import ContentLoader from 'react-content-loader'
import { DEFAULT_THEME } from '../../constants' import { DEFAULT_THEME } from '../../constants'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePropTypes from 'react-immutable-proptypes'
import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePureComponent from 'react-immutable-pure-component'
import { defineMessages, injectIntl, FormattedMessage } from 'react-intl' import { defineMessages, injectIntl, FormattedMessage } from 'react-intl'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { defineMessages, injectIntl } from 'react-intl' import { defineMessages, injectIntl } from 'react-intl'
import { closePopover } from '../../actions/popover' import { closePopover } from '../../actions/popover'
import { changeSetting, saveSettings } from '../../actions/settings' import { changeSetting, saveSettings } from '../../actions/settings'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import DatePicker from 'react-datepicker' import DatePicker from 'react-datepicker'
import { FormattedMessage } from 'react-intl' import { FormattedMessage } from 'react-intl'
import moment from 'moment-mini' import moment from 'moment-mini'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { defineMessages, injectIntl } from 'react-intl' import { defineMessages, injectIntl } from 'react-intl'
import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePropTypes from 'react-immutable-proptypes'
import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePureComponent from 'react-immutable-pure-component'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { closePopover } from '../../actions/popover' import { closePopover } from '../../actions/popover'
import { sortGroups } from '../../actions/groups' import { sortGroups } from '../../actions/groups'
import { import {

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { closePopover } from '../../actions/popover' import { closePopover } from '../../actions/popover'
import { import {
updateRole, updateRole,

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePureComponent from 'react-immutable-pure-component'
import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePropTypes from 'react-immutable-proptypes'
import { defineMessages, injectIntl } from 'react-intl' import { defineMessages, injectIntl } from 'react-intl'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { defineMessages, injectIntl } from 'react-intl' import { defineMessages, injectIntl } from 'react-intl'
import isObject from 'lodash.isobject' import isObject from 'lodash.isobject'
import { closePopover } from '../../actions/popover' import { closePopover } from '../../actions/popover'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { defineMessages, injectIntl } from 'react-intl' import { defineMessages, injectIntl } from 'react-intl'
import { closePopover } from '../../actions/popover' import { closePopover } from '../../actions/popover'
import { setGroupTimelineTopSort } from '../../actions/groups' import { setGroupTimelineTopSort } from '../../actions/groups'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { defineMessages, injectIntl } from 'react-intl' import { defineMessages, injectIntl } from 'react-intl'
import { closePopover } from '../../actions/popover' import { closePopover } from '../../actions/popover'
import { meUsername } from '../../initial_state' import { meUsername } from '../../initial_state'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import detectPassiveEvents from 'detect-passive-events' import detectPassiveEvents from 'detect-passive-events'
import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePropTypes from 'react-immutable-proptypes'
import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePureComponent from 'react-immutable-pure-component'

View File

@ -39,6 +39,7 @@ import {
} from '../../features/ui/util/async_components' } from '../../features/ui/util/async_components'
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { closePopover } from '../../actions/popover' import { closePopover } from '../../actions/popover'
import { getWindowDimension } from '../../utils/is_mobile' import { getWindowDimension } from '../../utils/is_mobile'
import Bundle from '../../features/ui/util/bundle' import Bundle from '../../features/ui/util/bundle'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { defineMessages, injectIntl } from 'react-intl' import { defineMessages, injectIntl } from 'react-intl'
import { import {
followAccount, followAccount,

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { defineMessages, injectIntl } from 'react-intl' import { defineMessages, injectIntl } from 'react-intl'
import { MODAL_DISPLAY_OPTIONS } from '../../constants' import { MODAL_DISPLAY_OPTIONS } from '../../constants'
import { openModal } from '../../actions/modal' import { openModal } from '../../actions/modal'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { defineMessages, injectIntl } from 'react-intl' import { defineMessages, injectIntl } from 'react-intl'
import { closePopover } from '../../actions/popover' import { closePopover } from '../../actions/popover'
import { changeExpiresAt } from '../../actions/compose' import { changeExpiresAt } from '../../actions/compose'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePropTypes from 'react-immutable-proptypes'
import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePureComponent from 'react-immutable-pure-component'
import { FormattedMessage, defineMessages, injectIntl } from 'react-intl' import { FormattedMessage, defineMessages, injectIntl } from 'react-intl'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { injectIntl, defineMessages } from 'react-intl' import { injectIntl, defineMessages } from 'react-intl'
import classNames from 'classnames/bind' import classNames from 'classnames/bind'
import { changeComposeVisibility } from '../../actions/compose' import { changeComposeVisibility } from '../../actions/compose'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePropTypes from 'react-immutable-proptypes'
import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePureComponent from 'react-immutable-pure-component'
import { NavLink } from 'react-router-dom' import { NavLink } from 'react-router-dom'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePropTypes from 'react-immutable-proptypes'
import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePureComponent from 'react-immutable-pure-component'
import { defineMessages, injectIntl } from 'react-intl' import { defineMessages, injectIntl } from 'react-intl'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePropTypes from 'react-immutable-proptypes'
import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePureComponent from 'react-immutable-pure-component'
import { defineMessages, injectIntl } from 'react-intl' import { defineMessages, injectIntl } from 'react-intl'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { NavLink } from 'react-router-dom' import { NavLink } from 'react-router-dom'
import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePropTypes from 'react-immutable-proptypes'
import { defineMessages, injectIntl } from 'react-intl' import { defineMessages, injectIntl } from 'react-intl'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { RichUtils } from 'draft-js' import { RichUtils } from 'draft-js'
import classNames from 'classnames/bind' import classNames from 'classnames/bind'
import { me } from '../initial_state' import { me } from '../initial_state'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { withRouter } from 'react-router-dom' import { withRouter } from 'react-router-dom'
import queryString from 'query-string' import queryString from 'query-string'
import { me } from '../initial_state' import { me } from '../initial_state'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePropTypes from 'react-immutable-proptypes'
import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePureComponent from 'react-immutable-pure-component'
import { injectIntl, defineMessages } from 'react-intl' import { injectIntl, defineMessages } from 'react-intl'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePropTypes from 'react-immutable-proptypes'
import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePureComponent from 'react-immutable-pure-component'
import { injectIntl, defineMessages } from 'react-intl' import { injectIntl, defineMessages } from 'react-intl'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import ImmutablePropTypes from 'react-immutable-proptypes'; import ImmutablePropTypes from 'react-immutable-proptypes';
import ImmutablePureComponent from 'react-immutable-pure-component'; import ImmutablePureComponent from 'react-immutable-pure-component';
import { Set as ImmutableSet } from 'immutable'; import { Set as ImmutableSet } from 'immutable';

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { injectIntl, defineMessages } from 'react-intl' import { injectIntl, defineMessages } from 'react-intl'
import { NavLink } from 'react-router-dom' import { NavLink } from 'react-router-dom'
import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePropTypes from 'react-immutable-proptypes'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { Map as ImmutableMap, List as ImmutableList } from 'immutable' import { Map as ImmutableMap, List as ImmutableList } from 'immutable'
import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePropTypes from 'react-immutable-proptypes'
import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePureComponent from 'react-immutable-pure-component'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePureComponent from 'react-immutable-pure-component'
import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePropTypes from 'react-immutable-proptypes'
import { injectIntl, defineMessages } from 'react-intl' import { injectIntl, defineMessages } from 'react-intl'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePropTypes from 'react-immutable-proptypes'
import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePureComponent from 'react-immutable-pure-component'
import { defineMessages, injectIntl } from 'react-intl' import { defineMessages, injectIntl } from 'react-intl'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { import {
FONT_SIZES, FONT_SIZES,
THEMES, THEMES,

View File

@ -1,6 +1,7 @@
'use strict' 'use strict'
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { Provider } from 'react-redux' import { Provider } from 'react-redux'
import configureStore from '../store/configureStore' import configureStore from '../store/configureStore'
import { BrowserRouter, Route } from 'react-router-dom' import { BrowserRouter, Route } from 'react-router-dom'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { List as ImmutableList } from 'immutable' import { List as ImmutableList } from 'immutable'
import { makeGetNotification } from '../selectors' import { makeGetNotification } from '../selectors'
import Notification from '../components/notification' import Notification from '../components/notification'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { FormattedMessage } from 'react-intl' import { FormattedMessage } from 'react-intl'
import { import {
Map as ImmutableMap, Map as ImmutableMap,

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePropTypes from 'react-immutable-proptypes'
import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePureComponent from 'react-immutable-pure-component'
import { injectIntl, defineMessages } from 'react-intl' import { injectIntl, defineMessages } from 'react-intl'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePropTypes from 'react-immutable-proptypes'
import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePureComponent from 'react-immutable-pure-component'
import { List as ImmutableList } from 'immutable' import { List as ImmutableList } from 'immutable'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { defineMessages, injectIntl } from 'react-intl' import { defineMessages, injectIntl } from 'react-intl'
import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePureComponent from 'react-immutable-pure-component'
import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePropTypes from 'react-immutable-proptypes'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePropTypes from 'react-immutable-proptypes'
import { FormattedMessage } from 'react-intl' import { FormattedMessage } from 'react-intl'
import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePureComponent from 'react-immutable-pure-component'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { defineMessages, injectIntl } from 'react-intl' import { defineMessages, injectIntl } from 'react-intl'
import { expandCommunityTimeline } from '../actions/timelines' import { expandCommunityTimeline } from '../actions/timelines'
import StatusList from '../components/status_list' import StatusList from '../components/status_list'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { defineMessages, injectIntl } from 'react-intl' import { defineMessages, injectIntl } from 'react-intl'
import { openPopover } from '../../../actions/popover' import { openPopover } from '../../../actions/popover'
import ComposeExtraButton from './compose_extra_button' import ComposeExtraButton from './compose_extra_button'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { injectIntl, defineMessages } from 'react-intl' import { injectIntl, defineMessages } from 'react-intl'
import { openModal } from '../../../actions/modal' import { openModal } from '../../../actions/modal'
import { openPopover } from '../../../actions/popover' import { openPopover } from '../../../actions/popover'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { clearSelectedGif } from '../../../actions/tenor' import { clearSelectedGif } from '../../../actions/tenor'
import Image from '../../../components/image' import Image from '../../../components/image'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { injectIntl, defineMessages } from 'react-intl' import { injectIntl, defineMessages } from 'react-intl'
import ComposeExtraButton from './compose_extra_button' import ComposeExtraButton from './compose_extra_button'
import { openModal } from '../../../actions/modal' import { openModal } from '../../../actions/modal'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePureComponent from 'react-immutable-pure-component'
import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePropTypes from 'react-immutable-proptypes'
import { defineMessages, injectIntl } from 'react-intl' import { defineMessages, injectIntl } from 'react-intl'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePropTypes from 'react-immutable-proptypes'
import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePureComponent from 'react-immutable-pure-component'
import { defineMessages, injectIntl } from 'react-intl' import { defineMessages, injectIntl } from 'react-intl'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { defineMessages, injectIntl } from 'react-intl' import { defineMessages, injectIntl } from 'react-intl'
import { addPoll, removePoll } from '../../../actions/compose' import { addPoll, removePoll } from '../../../actions/compose'
import ComposeExtraButton from './compose_extra_button' import ComposeExtraButton from './compose_extra_button'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePropTypes from 'react-immutable-proptypes'
import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePureComponent from 'react-immutable-pure-component'
import classNames from 'classnames/bind' import classNames from 'classnames/bind'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { injectIntl, defineMessages } from 'react-intl' import { injectIntl, defineMessages } from 'react-intl'
import { changeRichTextEditorControlsVisibility } from '../../../actions/compose' import { changeRichTextEditorControlsVisibility } from '../../../actions/compose'
import { openModal } from '../../../actions/modal' import { openModal } from '../../../actions/modal'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { injectIntl, defineMessages } from 'react-intl' import { injectIntl, defineMessages } from 'react-intl'
import { openModal } from '../../../actions/modal' import { openModal } from '../../../actions/modal'
import { closePopover, openPopover } from '../../../actions/popover' import { closePopover, openPopover } from '../../../actions/popover'

View File

@ -1,4 +1,5 @@
import React from 'react' import React from 'react'
import { connect } from 'react-redux'
import { injectIntl, defineMessages } from 'react-intl' import { injectIntl, defineMessages } from 'react-intl'
import { changeComposeSensitivity } from '../../../actions/compose' import { changeComposeSensitivity } from '../../../actions/compose'
import Switch from '../../../components/switch' import Switch from '../../../components/switch'

Some files were not shown because too many files have changed in this diff Show More