diff --git a/app/javascript/gabsocial/components/account.js b/app/javascript/gabsocial/components/account.js index 30256b9f..ac0509c1 100644 --- a/app/javascript/gabsocial/components/account.js +++ b/app/javascript/gabsocial/components/account.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { NavLink } from 'react-router-dom' import ImmutablePropTypes from 'react-immutable-proptypes' import { defineMessages, injectIntl } from 'react-intl' diff --git a/app/javascript/gabsocial/components/account_action_button.js b/app/javascript/gabsocial/components/account_action_button.js index 2c3bf1ae..f6c2590e 100644 --- a/app/javascript/gabsocial/components/account_action_button.js +++ b/app/javascript/gabsocial/components/account_action_button.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePureComponent from 'react-immutable-pure-component' import { injectIntl, defineMessages } from 'react-intl' diff --git a/app/javascript/gabsocial/components/account_authorize.js b/app/javascript/gabsocial/components/account_authorize.js index 70a5578e..78b549a3 100644 --- a/app/javascript/gabsocial/components/account_authorize.js +++ b/app/javascript/gabsocial/components/account_authorize.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { defineMessages, injectIntl } from 'react-intl' import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePropTypes from 'react-immutable-proptypes' diff --git a/app/javascript/gabsocial/components/autosuggest_account.js b/app/javascript/gabsocial/components/autosuggest_account.js index ce570bfe..3010dc3e 100644 --- a/app/javascript/gabsocial/components/autosuggest_account.js +++ b/app/javascript/gabsocial/components/autosuggest_account.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePureComponent from 'react-immutable-pure-component' import { makeGetAccount } from '../selectors' diff --git a/app/javascript/gabsocial/components/avatar.js b/app/javascript/gabsocial/components/avatar.js index 45dbb633..e90a4558 100644 --- a/app/javascript/gabsocial/components/avatar.js +++ b/app/javascript/gabsocial/components/avatar.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePureComponent from 'react-immutable-pure-component' import debounce from 'lodash.debounce' diff --git a/app/javascript/gabsocial/components/comment.js b/app/javascript/gabsocial/components/comment.js index 48c0d209..f194186c 100644 --- a/app/javascript/gabsocial/components/comment.js +++ b/app/javascript/gabsocial/components/comment.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { NavLink } from 'react-router-dom' import { defineMessages, injectIntl, FormattedMessage } from 'react-intl' import ImmutablePropTypes from 'react-immutable-proptypes' diff --git a/app/javascript/gabsocial/components/display_name.js b/app/javascript/gabsocial/components/display_name.js index 5ded6ad1..169e71c2 100644 --- a/app/javascript/gabsocial/components/display_name.js +++ b/app/javascript/gabsocial/components/display_name.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePureComponent from 'react-immutable-pure-component' import debounce from 'lodash.debounce' diff --git a/app/javascript/gabsocial/components/floating_action_button.js b/app/javascript/gabsocial/components/floating_action_button.js index e8c09dc0..bfc29305 100644 --- a/app/javascript/gabsocial/components/floating_action_button.js +++ b/app/javascript/gabsocial/components/floating_action_button.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { defineMessages, injectIntl } from 'react-intl' import { me } from '../initial_state' import { CX } from '../constants' diff --git a/app/javascript/gabsocial/components/footer_bar.js b/app/javascript/gabsocial/components/footer_bar.js index de401e10..291e2779 100644 --- a/app/javascript/gabsocial/components/footer_bar.js +++ b/app/javascript/gabsocial/components/footer_bar.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { withRouter } from 'react-router-dom' import { me } from '../initial_state' import { CX } from '../constants' diff --git a/app/javascript/gabsocial/components/group_collection_item.js b/app/javascript/gabsocial/components/group_collection_item.js index e1ce821b..e5b83056 100644 --- a/app/javascript/gabsocial/components/group_collection_item.js +++ b/app/javascript/gabsocial/components/group_collection_item.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePureComponent from 'react-immutable-pure-component' import { NavLink } from 'react-router-dom' diff --git a/app/javascript/gabsocial/components/group_header.js b/app/javascript/gabsocial/components/group_header.js index 44339b12..0d038afc 100644 --- a/app/javascript/gabsocial/components/group_header.js +++ b/app/javascript/gabsocial/components/group_header.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePureComponent from 'react-immutable-pure-component' import { defineMessages, injectIntl } from 'react-intl' diff --git a/app/javascript/gabsocial/components/group_list_item.js b/app/javascript/gabsocial/components/group_list_item.js index bc20cba9..65cbba76 100644 --- a/app/javascript/gabsocial/components/group_list_item.js +++ b/app/javascript/gabsocial/components/group_list_item.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePureComponent from 'react-immutable-pure-component' import { NavLink } from 'react-router-dom' diff --git a/app/javascript/gabsocial/components/group_sort_block.js b/app/javascript/gabsocial/components/group_sort_block.js index 452d952f..af79405f 100644 --- a/app/javascript/gabsocial/components/group_sort_block.js +++ b/app/javascript/gabsocial/components/group_sort_block.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { defineMessages, injectIntl } from 'react-intl' import { openPopover } from '../actions/popover' import { diff --git a/app/javascript/gabsocial/components/intersection_observer_article.js b/app/javascript/gabsocial/components/intersection_observer_article.js index 2d0a85dc..190515d8 100644 --- a/app/javascript/gabsocial/components/intersection_observer_article.js +++ b/app/javascript/gabsocial/components/intersection_observer_article.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { is } from 'immutable' import { setHeight } from '../actions/height_cache' import scheduleIdleTask from '../utils/schedule_idle_task' diff --git a/app/javascript/gabsocial/components/link_footer.js b/app/javascript/gabsocial/components/link_footer.js index b85fe0d9..661df7b6 100644 --- a/app/javascript/gabsocial/components/link_footer.js +++ b/app/javascript/gabsocial/components/link_footer.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { FormattedMessage, defineMessages, diff --git a/app/javascript/gabsocial/components/loading_bar.js b/app/javascript/gabsocial/components/loading_bar.js index 93bc43b3..007380e2 100644 --- a/app/javascript/gabsocial/components/loading_bar.js +++ b/app/javascript/gabsocial/components/loading_bar.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import LoadingBar from 'react-redux-loading-bar' const mapStateToProps = (state, ownProps) => ({ diff --git a/app/javascript/gabsocial/components/modal/block_account_modal.js b/app/javascript/gabsocial/components/modal/block_account_modal.js index 269bcc7c..dacb84d3 100644 --- a/app/javascript/gabsocial/components/modal/block_account_modal.js +++ b/app/javascript/gabsocial/components/modal/block_account_modal.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { injectIntl, defineMessages } from 'react-intl' import { makeGetAccount } from '../../selectors' import { blockAccount } from '../../actions/accounts' diff --git a/app/javascript/gabsocial/components/modal/community_timeline_settings_modal.js b/app/javascript/gabsocial/components/modal/community_timeline_settings_modal.js index 4220d8e0..c6cfb1e9 100644 --- a/app/javascript/gabsocial/components/modal/community_timeline_settings_modal.js +++ b/app/javascript/gabsocial/components/modal/community_timeline_settings_modal.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { defineMessages, injectIntl } from 'react-intl' import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePropTypes from 'react-immutable-proptypes' diff --git a/app/javascript/gabsocial/components/modal/compose_modal.js b/app/javascript/gabsocial/components/modal/compose_modal.js index 3ad685c7..471c91a4 100644 --- a/app/javascript/gabsocial/components/modal/compose_modal.js +++ b/app/javascript/gabsocial/components/modal/compose_modal.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { defineMessages, injectIntl, FormattedMessage } from 'react-intl' import ImmutablePureComponent from 'react-immutable-pure-component' import { openModal } from '../../actions/modal' diff --git a/app/javascript/gabsocial/components/modal/display_options_modal.js b/app/javascript/gabsocial/components/modal/display_options_modal.js index 8ff8e5e6..273189d5 100644 --- a/app/javascript/gabsocial/components/modal/display_options_modal.js +++ b/app/javascript/gabsocial/components/modal/display_options_modal.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { injectIntl, defineMessages } from 'react-intl' import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePureComponent from 'react-immutable-pure-component' diff --git a/app/javascript/gabsocial/components/modal/edit_profile_modal.js b/app/javascript/gabsocial/components/modal/edit_profile_modal.js index fe6b6801..6bca0a52 100644 --- a/app/javascript/gabsocial/components/modal/edit_profile_modal.js +++ b/app/javascript/gabsocial/components/modal/edit_profile_modal.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { defineMessages, injectIntl } from 'react-intl' import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePropTypes from 'react-immutable-proptypes' diff --git a/app/javascript/gabsocial/components/modal/edit_shortcuts_modal.js b/app/javascript/gabsocial/components/modal/edit_shortcuts_modal.js index 68fde80d..208b8511 100644 --- a/app/javascript/gabsocial/components/modal/edit_shortcuts_modal.js +++ b/app/javascript/gabsocial/components/modal/edit_shortcuts_modal.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { defineMessages, injectIntl } from 'react-intl' import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePropTypes from 'react-immutable-proptypes' diff --git a/app/javascript/gabsocial/components/modal/gif_picker_modal.js b/app/javascript/gabsocial/components/modal/gif_picker_modal.js index 4af1eaf6..3a919fe5 100644 --- a/app/javascript/gabsocial/components/modal/gif_picker_modal.js +++ b/app/javascript/gabsocial/components/modal/gif_picker_modal.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { defineMessages, injectIntl } from 'react-intl' import { fetchGifCategories, diff --git a/app/javascript/gabsocial/components/modal/group_delete_modal.js b/app/javascript/gabsocial/components/modal/group_delete_modal.js index af028d14..935aa820 100644 --- a/app/javascript/gabsocial/components/modal/group_delete_modal.js +++ b/app/javascript/gabsocial/components/modal/group_delete_modal.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { injectIntl, defineMessages } from 'react-intl' import { makeGetAccount } from '../../selectors' import { blockAccount } from '../../actions/accounts' diff --git a/app/javascript/gabsocial/components/modal/hashtag_timeline_settings_modal.js b/app/javascript/gabsocial/components/modal/hashtag_timeline_settings_modal.js index cbcba645..76d8f2a7 100644 --- a/app/javascript/gabsocial/components/modal/hashtag_timeline_settings_modal.js +++ b/app/javascript/gabsocial/components/modal/hashtag_timeline_settings_modal.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { defineMessages, injectIntl } from 'react-intl' import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePropTypes from 'react-immutable-proptypes' diff --git a/app/javascript/gabsocial/components/modal/home_timeline_settings_modal.js b/app/javascript/gabsocial/components/modal/home_timeline_settings_modal.js index 198af1c3..d8d45244 100644 --- a/app/javascript/gabsocial/components/modal/home_timeline_settings_modal.js +++ b/app/javascript/gabsocial/components/modal/home_timeline_settings_modal.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { defineMessages, injectIntl } from 'react-intl' import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePropTypes from 'react-immutable-proptypes' diff --git a/app/javascript/gabsocial/components/modal/list_add_user_modal.js b/app/javascript/gabsocial/components/modal/list_add_user_modal.js index 9c5b0167..e26c04f7 100644 --- a/app/javascript/gabsocial/components/modal/list_add_user_modal.js +++ b/app/javascript/gabsocial/components/modal/list_add_user_modal.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePureComponent from 'react-immutable-pure-component' import { defineMessages, injectIntl } from 'react-intl' diff --git a/app/javascript/gabsocial/components/modal/list_delete_modal.js b/app/javascript/gabsocial/components/modal/list_delete_modal.js index d3099430..a12d3f7a 100644 --- a/app/javascript/gabsocial/components/modal/list_delete_modal.js +++ b/app/javascript/gabsocial/components/modal/list_delete_modal.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePureComponent from 'react-immutable-pure-component' import { injectIntl, defineMessages } from 'react-intl' diff --git a/app/javascript/gabsocial/components/modal/list_timeline_settings_modal.js b/app/javascript/gabsocial/components/modal/list_timeline_settings_modal.js index b31ec255..d9df1194 100644 --- a/app/javascript/gabsocial/components/modal/list_timeline_settings_modal.js +++ b/app/javascript/gabsocial/components/modal/list_timeline_settings_modal.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { defineMessages, injectIntl } from 'react-intl' import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePropTypes from 'react-immutable-proptypes' diff --git a/app/javascript/gabsocial/components/modal/modal_base.js b/app/javascript/gabsocial/components/modal/modal_base.js index c95f7ab5..3f9240ce 100644 --- a/app/javascript/gabsocial/components/modal/modal_base.js +++ b/app/javascript/gabsocial/components/modal/modal_base.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { injectIntl, FormattedMessage, defineMessages } from 'react-intl' import { getWindowDimension } from '../../utils/is_mobile' import { openModal } from '../../actions/modal' diff --git a/app/javascript/gabsocial/components/modal/modal_root.js b/app/javascript/gabsocial/components/modal/modal_root.js index d587db9b..1fb14ff0 100644 --- a/app/javascript/gabsocial/components/modal/modal_root.js +++ b/app/javascript/gabsocial/components/modal/modal_root.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { closeModal } from '../../actions/modal' import { cancelReplyCompose } from '../../actions/compose' import Bundle from '../../features/ui/util/bundle' diff --git a/app/javascript/gabsocial/components/modal/mute_modal.js b/app/javascript/gabsocial/components/modal/mute_modal.js index c41d8a16..f4c20e6d 100644 --- a/app/javascript/gabsocial/components/modal/mute_modal.js +++ b/app/javascript/gabsocial/components/modal/mute_modal.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { injectIntl, defineMessages } from 'react-intl' import { makeGetAccount } from '../../selectors' import { muteAccount } from '../../actions/accounts' diff --git a/app/javascript/gabsocial/components/modal/pro_upgrade_modal.js b/app/javascript/gabsocial/components/modal/pro_upgrade_modal.js index f3c56089..ac501add 100644 --- a/app/javascript/gabsocial/components/modal/pro_upgrade_modal.js +++ b/app/javascript/gabsocial/components/modal/pro_upgrade_modal.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { defineMessages, injectIntl } from 'react-intl' import ImmutablePureComponent from 'react-immutable-pure-component' import { diff --git a/app/javascript/gabsocial/components/modal/report_modal.js b/app/javascript/gabsocial/components/modal/report_modal.js index 3f6201f3..1d26a67f 100644 --- a/app/javascript/gabsocial/components/modal/report_modal.js +++ b/app/javascript/gabsocial/components/modal/report_modal.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { defineMessages, injectIntl } from 'react-intl' import { OrderedSet } from 'immutable' import ImmutablePropTypes from 'react-immutable-proptypes' diff --git a/app/javascript/gabsocial/components/modal/status_revisions_modal.js b/app/javascript/gabsocial/components/modal/status_revisions_modal.js index 9821d711..d377a240 100644 --- a/app/javascript/gabsocial/components/modal/status_revisions_modal.js +++ b/app/javascript/gabsocial/components/modal/status_revisions_modal.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { defineMessages, injectIntl } from 'react-intl' import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePureComponent from 'react-immutable-pure-component' diff --git a/app/javascript/gabsocial/components/modal/unfollow_modal.js b/app/javascript/gabsocial/components/modal/unfollow_modal.js index 7f55e0c4..8dd6b1e9 100644 --- a/app/javascript/gabsocial/components/modal/unfollow_modal.js +++ b/app/javascript/gabsocial/components/modal/unfollow_modal.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { FormattedMessage } from 'react-intl' import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePropTypes from 'react-immutable-proptypes' diff --git a/app/javascript/gabsocial/components/navigation_bar.js b/app/javascript/gabsocial/components/navigation_bar.js index 20022ce9..da040036 100644 --- a/app/javascript/gabsocial/components/navigation_bar.js +++ b/app/javascript/gabsocial/components/navigation_bar.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePureComponent from 'react-immutable-pure-component' import { openSidebar } from '../actions/sidebar' diff --git a/app/javascript/gabsocial/components/panel/group_info_panel.js b/app/javascript/gabsocial/components/panel/group_info_panel.js index aff72749..aabb723c 100644 --- a/app/javascript/gabsocial/components/panel/group_info_panel.js +++ b/app/javascript/gabsocial/components/panel/group_info_panel.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { defineMessages, injectIntl } from 'react-intl' import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePropTypes from 'react-immutable-proptypes' diff --git a/app/javascript/gabsocial/components/panel/groups_panel.js b/app/javascript/gabsocial/components/panel/groups_panel.js index cd3f6266..8fbdce76 100644 --- a/app/javascript/gabsocial/components/panel/groups_panel.js +++ b/app/javascript/gabsocial/components/panel/groups_panel.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePureComponent from 'react-immutable-pure-component' import { defineMessages, injectIntl } from 'react-intl' diff --git a/app/javascript/gabsocial/components/panel/lists_panel.js b/app/javascript/gabsocial/components/panel/lists_panel.js index 85f74fa8..08d465af 100644 --- a/app/javascript/gabsocial/components/panel/lists_panel.js +++ b/app/javascript/gabsocial/components/panel/lists_panel.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePureComponent from 'react-immutable-pure-component' import { defineMessages, injectIntl } from 'react-intl' diff --git a/app/javascript/gabsocial/components/panel/media_gallery_panel.js b/app/javascript/gabsocial/components/panel/media_gallery_panel.js index b3fe56b9..0242f691 100644 --- a/app/javascript/gabsocial/components/panel/media_gallery_panel.js +++ b/app/javascript/gabsocial/components/panel/media_gallery_panel.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { defineMessages, injectIntl } from 'react-intl' import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePropTypes from 'react-immutable-proptypes' diff --git a/app/javascript/gabsocial/components/panel/notification_filter_panel.js b/app/javascript/gabsocial/components/panel/notification_filter_panel.js index f2b93af7..3bde9d91 100644 --- a/app/javascript/gabsocial/components/panel/notification_filter_panel.js +++ b/app/javascript/gabsocial/components/panel/notification_filter_panel.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { defineMessages, injectIntl } from 'react-intl' import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePropTypes from 'react-immutable-proptypes' diff --git a/app/javascript/gabsocial/components/panel/search_filter_panel.js b/app/javascript/gabsocial/components/panel/search_filter_panel.js index dd5622e2..cecef0ea 100644 --- a/app/javascript/gabsocial/components/panel/search_filter_panel.js +++ b/app/javascript/gabsocial/components/panel/search_filter_panel.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { defineMessages, injectIntl } from 'react-intl' import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePropTypes from 'react-immutable-proptypes' diff --git a/app/javascript/gabsocial/components/panel/shop_panel.js b/app/javascript/gabsocial/components/panel/shop_panel.js index 702113c2..800c039e 100644 --- a/app/javascript/gabsocial/components/panel/shop_panel.js +++ b/app/javascript/gabsocial/components/panel/shop_panel.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { defineMessages, injectIntl } from 'react-intl' import { fetchFeaturedProducts } from '../../actions/shop' import { URL_DISSENTER_SHOP } from '../../constants' diff --git a/app/javascript/gabsocial/components/panel/status_promotion_panel.js b/app/javascript/gabsocial/components/panel/status_promotion_panel.js index ea724991..249becbb 100644 --- a/app/javascript/gabsocial/components/panel/status_promotion_panel.js +++ b/app/javascript/gabsocial/components/panel/status_promotion_panel.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { NavLink } from 'react-router-dom' import { injectIntl, defineMessages } from 'react-intl' import ImmutablePropTypes from 'react-immutable-proptypes' diff --git a/app/javascript/gabsocial/components/panel/trends_panel.js b/app/javascript/gabsocial/components/panel/trends_panel.js index f2d462fa..b238e99e 100644 --- a/app/javascript/gabsocial/components/panel/trends_panel.js +++ b/app/javascript/gabsocial/components/panel/trends_panel.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { injectIntl, defineMessages } from 'react-intl' import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePropTypes from 'react-immutable-proptypes' diff --git a/app/javascript/gabsocial/components/panel/user_panel.js b/app/javascript/gabsocial/components/panel/user_panel.js index 482d40f3..b7713008 100644 --- a/app/javascript/gabsocial/components/panel/user_panel.js +++ b/app/javascript/gabsocial/components/panel/user_panel.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { NavLink } from 'react-router-dom' import { injectIntl, defineMessages } from 'react-intl' import ImmutablePropTypes from 'react-immutable-proptypes' diff --git a/app/javascript/gabsocial/components/panel/verified_accounts_panel.js b/app/javascript/gabsocial/components/panel/verified_accounts_panel.js index 1ce90f17..e7b9156c 100644 --- a/app/javascript/gabsocial/components/panel/verified_accounts_panel.js +++ b/app/javascript/gabsocial/components/panel/verified_accounts_panel.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { defineMessages, injectIntl } from 'react-intl' import { fetchPopularSuggestions } from '../../actions/suggestions' import ImmutablePureComponent from 'react-immutable-pure-component' diff --git a/app/javascript/gabsocial/components/panel/who_to_follow_panel.js b/app/javascript/gabsocial/components/panel/who_to_follow_panel.js index cea106b5..349b61d5 100644 --- a/app/javascript/gabsocial/components/panel/who_to_follow_panel.js +++ b/app/javascript/gabsocial/components/panel/who_to_follow_panel.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { defineMessages, injectIntl } from 'react-intl' import { fetchRelatedSuggestions, diff --git a/app/javascript/gabsocial/components/placeholder/placeholder_layout.js b/app/javascript/gabsocial/components/placeholder/placeholder_layout.js index b93c5046..acf311dd 100644 --- a/app/javascript/gabsocial/components/placeholder/placeholder_layout.js +++ b/app/javascript/gabsocial/components/placeholder/placeholder_layout.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { defineMessages, injectIntl } from 'react-intl' import ContentLoader from 'react-content-loader' import { DEFAULT_THEME } from '../../constants' diff --git a/app/javascript/gabsocial/components/poll.js b/app/javascript/gabsocial/components/poll.js index 6f42e76c..d90f12d5 100644 --- a/app/javascript/gabsocial/components/poll.js +++ b/app/javascript/gabsocial/components/poll.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePureComponent from 'react-immutable-pure-component' import { defineMessages, injectIntl, FormattedMessage } from 'react-intl' diff --git a/app/javascript/gabsocial/components/popover/comment_sorting_options_popover.js b/app/javascript/gabsocial/components/popover/comment_sorting_options_popover.js index 4dc5d056..2cd37a6b 100644 --- a/app/javascript/gabsocial/components/popover/comment_sorting_options_popover.js +++ b/app/javascript/gabsocial/components/popover/comment_sorting_options_popover.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { defineMessages, injectIntl } from 'react-intl' import { closePopover } from '../../actions/popover' import { changeSetting, saveSettings } from '../../actions/settings' diff --git a/app/javascript/gabsocial/components/popover/date_picker_popover.js b/app/javascript/gabsocial/components/popover/date_picker_popover.js index 030ebf18..baf40799 100644 --- a/app/javascript/gabsocial/components/popover/date_picker_popover.js +++ b/app/javascript/gabsocial/components/popover/date_picker_popover.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import DatePicker from 'react-datepicker' import { FormattedMessage } from 'react-intl' import moment from 'moment-mini' diff --git a/app/javascript/gabsocial/components/popover/emoji_picker_popover.js b/app/javascript/gabsocial/components/popover/emoji_picker_popover.js index e48218f4..a00c693d 100644 --- a/app/javascript/gabsocial/components/popover/emoji_picker_popover.js +++ b/app/javascript/gabsocial/components/popover/emoji_picker_popover.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { defineMessages, injectIntl } from 'react-intl' import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePureComponent from 'react-immutable-pure-component' diff --git a/app/javascript/gabsocial/components/popover/group_list_sort_options_popover.js b/app/javascript/gabsocial/components/popover/group_list_sort_options_popover.js index a2a5f0ab..7248bb95 100644 --- a/app/javascript/gabsocial/components/popover/group_list_sort_options_popover.js +++ b/app/javascript/gabsocial/components/popover/group_list_sort_options_popover.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { closePopover } from '../../actions/popover' import { sortGroups } from '../../actions/groups' import { diff --git a/app/javascript/gabsocial/components/popover/group_member_options_popover.js b/app/javascript/gabsocial/components/popover/group_member_options_popover.js index a345bb91..f33b6798 100644 --- a/app/javascript/gabsocial/components/popover/group_member_options_popover.js +++ b/app/javascript/gabsocial/components/popover/group_member_options_popover.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { closePopover } from '../../actions/popover' import { updateRole, diff --git a/app/javascript/gabsocial/components/popover/group_options_popover.js b/app/javascript/gabsocial/components/popover/group_options_popover.js index 226903c6..c8ad5f21 100644 --- a/app/javascript/gabsocial/components/popover/group_options_popover.js +++ b/app/javascript/gabsocial/components/popover/group_options_popover.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePropTypes from 'react-immutable-proptypes' import { defineMessages, injectIntl } from 'react-intl' diff --git a/app/javascript/gabsocial/components/popover/group_timeline_sort_options_popover.js b/app/javascript/gabsocial/components/popover/group_timeline_sort_options_popover.js index 47a5fb30..e4675a16 100644 --- a/app/javascript/gabsocial/components/popover/group_timeline_sort_options_popover.js +++ b/app/javascript/gabsocial/components/popover/group_timeline_sort_options_popover.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { defineMessages, injectIntl } from 'react-intl' import isObject from 'lodash.isobject' import { closePopover } from '../../actions/popover' diff --git a/app/javascript/gabsocial/components/popover/group_timeline_sort_top_options_popover.js b/app/javascript/gabsocial/components/popover/group_timeline_sort_top_options_popover.js index 047b8a74..2165a40e 100644 --- a/app/javascript/gabsocial/components/popover/group_timeline_sort_top_options_popover.js +++ b/app/javascript/gabsocial/components/popover/group_timeline_sort_top_options_popover.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { defineMessages, injectIntl } from 'react-intl' import { closePopover } from '../../actions/popover' import { setGroupTimelineTopSort } from '../../actions/groups' diff --git a/app/javascript/gabsocial/components/popover/nav_settings_popover.js b/app/javascript/gabsocial/components/popover/nav_settings_popover.js index e360360b..65fc5ba3 100644 --- a/app/javascript/gabsocial/components/popover/nav_settings_popover.js +++ b/app/javascript/gabsocial/components/popover/nav_settings_popover.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { defineMessages, injectIntl } from 'react-intl' import { closePopover } from '../../actions/popover' import { meUsername } from '../../initial_state' diff --git a/app/javascript/gabsocial/components/popover/popover_base.js b/app/javascript/gabsocial/components/popover/popover_base.js index 9050bd83..522517be 100644 --- a/app/javascript/gabsocial/components/popover/popover_base.js +++ b/app/javascript/gabsocial/components/popover/popover_base.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import detectPassiveEvents from 'detect-passive-events' import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePureComponent from 'react-immutable-pure-component' diff --git a/app/javascript/gabsocial/components/popover/popover_root.js b/app/javascript/gabsocial/components/popover/popover_root.js index 3640bd5a..6c81bf95 100644 --- a/app/javascript/gabsocial/components/popover/popover_root.js +++ b/app/javascript/gabsocial/components/popover/popover_root.js @@ -39,6 +39,7 @@ import { } from '../../features/ui/util/async_components' import React from 'react' +import { connect } from 'react-redux' import { closePopover } from '../../actions/popover' import { getWindowDimension } from '../../utils/is_mobile' import Bundle from '../../features/ui/util/bundle' diff --git a/app/javascript/gabsocial/components/popover/profile_options_popover.js b/app/javascript/gabsocial/components/popover/profile_options_popover.js index e0ddba47..aca7a261 100644 --- a/app/javascript/gabsocial/components/popover/profile_options_popover.js +++ b/app/javascript/gabsocial/components/popover/profile_options_popover.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { defineMessages, injectIntl } from 'react-intl' import { followAccount, diff --git a/app/javascript/gabsocial/components/popover/sidebar_more_popover.js b/app/javascript/gabsocial/components/popover/sidebar_more_popover.js index c6456804..69cf908f 100644 --- a/app/javascript/gabsocial/components/popover/sidebar_more_popover.js +++ b/app/javascript/gabsocial/components/popover/sidebar_more_popover.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { defineMessages, injectIntl } from 'react-intl' import { MODAL_DISPLAY_OPTIONS } from '../../constants' import { openModal } from '../../actions/modal' diff --git a/app/javascript/gabsocial/components/popover/status_expiration_options_popover.js b/app/javascript/gabsocial/components/popover/status_expiration_options_popover.js index b582437c..e9e64b4c 100644 --- a/app/javascript/gabsocial/components/popover/status_expiration_options_popover.js +++ b/app/javascript/gabsocial/components/popover/status_expiration_options_popover.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { defineMessages, injectIntl } from 'react-intl' import { closePopover } from '../../actions/popover' import { changeExpiresAt } from '../../actions/compose' diff --git a/app/javascript/gabsocial/components/popover/status_options_popover.js b/app/javascript/gabsocial/components/popover/status_options_popover.js index aac82bcb..137a9090 100644 --- a/app/javascript/gabsocial/components/popover/status_options_popover.js +++ b/app/javascript/gabsocial/components/popover/status_options_popover.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePureComponent from 'react-immutable-pure-component' import { FormattedMessage, defineMessages, injectIntl } from 'react-intl' diff --git a/app/javascript/gabsocial/components/popover/status_visibility_popover.js b/app/javascript/gabsocial/components/popover/status_visibility_popover.js index 3fe1053f..5c7ff7cc 100644 --- a/app/javascript/gabsocial/components/popover/status_visibility_popover.js +++ b/app/javascript/gabsocial/components/popover/status_visibility_popover.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { injectIntl, defineMessages } from 'react-intl' import classNames from 'classnames/bind' import { changeComposeVisibility } from '../../actions/compose' diff --git a/app/javascript/gabsocial/components/popover/user_info_popover.js b/app/javascript/gabsocial/components/popover/user_info_popover.js index 4da4cc1e..4a08a763 100644 --- a/app/javascript/gabsocial/components/popover/user_info_popover.js +++ b/app/javascript/gabsocial/components/popover/user_info_popover.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePureComponent from 'react-immutable-pure-component' import { NavLink } from 'react-router-dom' diff --git a/app/javascript/gabsocial/components/popover/video_stats_popover.js b/app/javascript/gabsocial/components/popover/video_stats_popover.js index 1ccd7124..74fe72f0 100644 --- a/app/javascript/gabsocial/components/popover/video_stats_popover.js +++ b/app/javascript/gabsocial/components/popover/video_stats_popover.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePureComponent from 'react-immutable-pure-component' import { defineMessages, injectIntl } from 'react-intl' diff --git a/app/javascript/gabsocial/components/profile_header.js b/app/javascript/gabsocial/components/profile_header.js index 74c7a1d9..3dafde27 100644 --- a/app/javascript/gabsocial/components/profile_header.js +++ b/app/javascript/gabsocial/components/profile_header.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePureComponent from 'react-immutable-pure-component' import { defineMessages, injectIntl } from 'react-intl' diff --git a/app/javascript/gabsocial/components/recursive_comment.js b/app/javascript/gabsocial/components/recursive_comment.js index f2285e8a..8755eab4 100644 --- a/app/javascript/gabsocial/components/recursive_comment.js +++ b/app/javascript/gabsocial/components/recursive_comment.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { NavLink } from 'react-router-dom' import ImmutablePropTypes from 'react-immutable-proptypes' import { defineMessages, injectIntl } from 'react-intl' diff --git a/app/javascript/gabsocial/components/rich_text_editor_bar.js b/app/javascript/gabsocial/components/rich_text_editor_bar.js index 01b5c8f4..828344d0 100644 --- a/app/javascript/gabsocial/components/rich_text_editor_bar.js +++ b/app/javascript/gabsocial/components/rich_text_editor_bar.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { RichUtils } from 'draft-js' import classNames from 'classnames/bind' import { me } from '../initial_state' diff --git a/app/javascript/gabsocial/components/search.js b/app/javascript/gabsocial/components/search.js index 3193f715..96695aa1 100644 --- a/app/javascript/gabsocial/components/search.js +++ b/app/javascript/gabsocial/components/search.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { withRouter } from 'react-router-dom' import queryString from 'query-string' import { me } from '../initial_state' diff --git a/app/javascript/gabsocial/components/settings_sidebar.js b/app/javascript/gabsocial/components/settings_sidebar.js index fd99cc3f..b7db9984 100644 --- a/app/javascript/gabsocial/components/settings_sidebar.js +++ b/app/javascript/gabsocial/components/settings_sidebar.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePureComponent from 'react-immutable-pure-component' import { injectIntl, defineMessages } from 'react-intl' diff --git a/app/javascript/gabsocial/components/sidebar.js b/app/javascript/gabsocial/components/sidebar.js index c1e6dcf8..c74f6005 100644 --- a/app/javascript/gabsocial/components/sidebar.js +++ b/app/javascript/gabsocial/components/sidebar.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePureComponent from 'react-immutable-pure-component' import { injectIntl, defineMessages } from 'react-intl' diff --git a/app/javascript/gabsocial/components/status_check_box.js b/app/javascript/gabsocial/components/status_check_box.js index 52f80c11..9bc2c176 100644 --- a/app/javascript/gabsocial/components/status_check_box.js +++ b/app/javascript/gabsocial/components/status_check_box.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import ImmutablePropTypes from 'react-immutable-proptypes'; import ImmutablePureComponent from 'react-immutable-pure-component'; import { Set as ImmutableSet } from 'immutable'; diff --git a/app/javascript/gabsocial/components/status_header.js b/app/javascript/gabsocial/components/status_header.js index fb9de132..33629cf8 100644 --- a/app/javascript/gabsocial/components/status_header.js +++ b/app/javascript/gabsocial/components/status_header.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { injectIntl, defineMessages } from 'react-intl' import { NavLink } from 'react-router-dom' import ImmutablePropTypes from 'react-immutable-proptypes' diff --git a/app/javascript/gabsocial/components/status_list.js b/app/javascript/gabsocial/components/status_list.js index de5c3d94..091a3ecf 100644 --- a/app/javascript/gabsocial/components/status_list.js +++ b/app/javascript/gabsocial/components/status_list.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { Map as ImmutableMap, List as ImmutableList } from 'immutable' import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePureComponent from 'react-immutable-pure-component' diff --git a/app/javascript/gabsocial/components/timeline_compose_block.js b/app/javascript/gabsocial/components/timeline_compose_block.js index b99c37cf..2aaf7ada 100644 --- a/app/javascript/gabsocial/components/timeline_compose_block.js +++ b/app/javascript/gabsocial/components/timeline_compose_block.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePropTypes from 'react-immutable-proptypes' import { injectIntl, defineMessages } from 'react-intl' diff --git a/app/javascript/gabsocial/components/video.js b/app/javascript/gabsocial/components/video.js index 3911986f..adc3b65d 100644 --- a/app/javascript/gabsocial/components/video.js +++ b/app/javascript/gabsocial/components/video.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePureComponent from 'react-immutable-pure-component' import { defineMessages, injectIntl } from 'react-intl' diff --git a/app/javascript/gabsocial/containers/display.js b/app/javascript/gabsocial/containers/display.js index 02c9c2a9..d7d4c46b 100644 --- a/app/javascript/gabsocial/containers/display.js +++ b/app/javascript/gabsocial/containers/display.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { FONT_SIZES, THEMES, diff --git a/app/javascript/gabsocial/containers/gabsocial.js b/app/javascript/gabsocial/containers/gabsocial.js index ff724d96..75e892ed 100644 --- a/app/javascript/gabsocial/containers/gabsocial.js +++ b/app/javascript/gabsocial/containers/gabsocial.js @@ -1,6 +1,7 @@ 'use strict' import React from 'react' +import { connect } from 'react-redux' import { Provider } from 'react-redux' import configureStore from '../store/configureStore' import { BrowserRouter, Route } from 'react-router-dom' diff --git a/app/javascript/gabsocial/containers/notification_container.js b/app/javascript/gabsocial/containers/notification_container.js index 6f8970dc..4049b314 100644 --- a/app/javascript/gabsocial/containers/notification_container.js +++ b/app/javascript/gabsocial/containers/notification_container.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { List as ImmutableList } from 'immutable' import { makeGetNotification } from '../selectors' import Notification from '../components/notification' diff --git a/app/javascript/gabsocial/containers/status_container.js b/app/javascript/gabsocial/containers/status_container.js index 2123d749..bc197b4a 100644 --- a/app/javascript/gabsocial/containers/status_container.js +++ b/app/javascript/gabsocial/containers/status_container.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { FormattedMessage } from 'react-intl' import { Map as ImmutableMap, diff --git a/app/javascript/gabsocial/features/account_gallery.js b/app/javascript/gabsocial/features/account_gallery.js index 24eb73bd..6fb429cf 100644 --- a/app/javascript/gabsocial/features/account_gallery.js +++ b/app/javascript/gabsocial/features/account_gallery.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePureComponent from 'react-immutable-pure-component' import { injectIntl, defineMessages } from 'react-intl' diff --git a/app/javascript/gabsocial/features/account_timeline.js b/app/javascript/gabsocial/features/account_timeline.js index bb3b48df..b6b12b2c 100644 --- a/app/javascript/gabsocial/features/account_timeline.js +++ b/app/javascript/gabsocial/features/account_timeline.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePureComponent from 'react-immutable-pure-component' import { List as ImmutableList } from 'immutable' diff --git a/app/javascript/gabsocial/features/blocked_accounts.js b/app/javascript/gabsocial/features/blocked_accounts.js index da41d96c..48bfd01f 100644 --- a/app/javascript/gabsocial/features/blocked_accounts.js +++ b/app/javascript/gabsocial/features/blocked_accounts.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { defineMessages, injectIntl } from 'react-intl' import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePropTypes from 'react-immutable-proptypes' diff --git a/app/javascript/gabsocial/features/bookmarked_statuses.js b/app/javascript/gabsocial/features/bookmarked_statuses.js index 969dc4fa..6a54c902 100644 --- a/app/javascript/gabsocial/features/bookmarked_statuses.js +++ b/app/javascript/gabsocial/features/bookmarked_statuses.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import ImmutablePropTypes from 'react-immutable-proptypes' import { FormattedMessage } from 'react-intl' import ImmutablePureComponent from 'react-immutable-pure-component' diff --git a/app/javascript/gabsocial/features/community_timeline.js b/app/javascript/gabsocial/features/community_timeline.js index 6a15841f..f018f9c0 100644 --- a/app/javascript/gabsocial/features/community_timeline.js +++ b/app/javascript/gabsocial/features/community_timeline.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { defineMessages, injectIntl } from 'react-intl' import { expandCommunityTimeline } from '../actions/timelines' import StatusList from '../components/status_list' diff --git a/app/javascript/gabsocial/features/compose/components/emoji_picker_button.js b/app/javascript/gabsocial/features/compose/components/emoji_picker_button.js index 1d762fc1..38b71e1a 100644 --- a/app/javascript/gabsocial/features/compose/components/emoji_picker_button.js +++ b/app/javascript/gabsocial/features/compose/components/emoji_picker_button.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { defineMessages, injectIntl } from 'react-intl' import { openPopover } from '../../../actions/popover' import ComposeExtraButton from './compose_extra_button' diff --git a/app/javascript/gabsocial/features/compose/components/expires_post_button.js b/app/javascript/gabsocial/features/compose/components/expires_post_button.js index 488db6ab..f851ea56 100644 --- a/app/javascript/gabsocial/features/compose/components/expires_post_button.js +++ b/app/javascript/gabsocial/features/compose/components/expires_post_button.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { injectIntl, defineMessages } from 'react-intl' import { openModal } from '../../../actions/modal' import { openPopover } from '../../../actions/popover' diff --git a/app/javascript/gabsocial/features/compose/components/gif_form.js b/app/javascript/gabsocial/features/compose/components/gif_form.js index 7bf0dd82..1cb96477 100644 --- a/app/javascript/gabsocial/features/compose/components/gif_form.js +++ b/app/javascript/gabsocial/features/compose/components/gif_form.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { clearSelectedGif } from '../../../actions/tenor' import Image from '../../../components/image' diff --git a/app/javascript/gabsocial/features/compose/components/gif_selector_button.js b/app/javascript/gabsocial/features/compose/components/gif_selector_button.js index 62474d69..9e895784 100644 --- a/app/javascript/gabsocial/features/compose/components/gif_selector_button.js +++ b/app/javascript/gabsocial/features/compose/components/gif_selector_button.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { injectIntl, defineMessages } from 'react-intl' import ComposeExtraButton from './compose_extra_button' import { openModal } from '../../../actions/modal' diff --git a/app/javascript/gabsocial/features/compose/components/media_upload_button.js b/app/javascript/gabsocial/features/compose/components/media_upload_button.js index 6013d2d2..0f0b0961 100644 --- a/app/javascript/gabsocial/features/compose/components/media_upload_button.js +++ b/app/javascript/gabsocial/features/compose/components/media_upload_button.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePropTypes from 'react-immutable-proptypes' import { defineMessages, injectIntl } from 'react-intl' diff --git a/app/javascript/gabsocial/features/compose/components/media_upload_item.js b/app/javascript/gabsocial/features/compose/components/media_upload_item.js index cc0e7b99..0b5d6afa 100644 --- a/app/javascript/gabsocial/features/compose/components/media_upload_item.js +++ b/app/javascript/gabsocial/features/compose/components/media_upload_item.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePureComponent from 'react-immutable-pure-component' import { defineMessages, injectIntl } from 'react-intl' diff --git a/app/javascript/gabsocial/features/compose/components/poll_button.js b/app/javascript/gabsocial/features/compose/components/poll_button.js index 7b4718f7..f32d3a64 100644 --- a/app/javascript/gabsocial/features/compose/components/poll_button.js +++ b/app/javascript/gabsocial/features/compose/components/poll_button.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { defineMessages, injectIntl } from 'react-intl' import { addPoll, removePoll } from '../../../actions/compose' import ComposeExtraButton from './compose_extra_button' diff --git a/app/javascript/gabsocial/features/compose/components/poll_form.js b/app/javascript/gabsocial/features/compose/components/poll_form.js index 0ec67a09..34766be4 100644 --- a/app/javascript/gabsocial/features/compose/components/poll_form.js +++ b/app/javascript/gabsocial/features/compose/components/poll_form.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePureComponent from 'react-immutable-pure-component' import classNames from 'classnames/bind' diff --git a/app/javascript/gabsocial/features/compose/components/rich_text_editor_button.js b/app/javascript/gabsocial/features/compose/components/rich_text_editor_button.js index 3896f757..0ea10189 100644 --- a/app/javascript/gabsocial/features/compose/components/rich_text_editor_button.js +++ b/app/javascript/gabsocial/features/compose/components/rich_text_editor_button.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { injectIntl, defineMessages } from 'react-intl' import { changeRichTextEditorControlsVisibility } from '../../../actions/compose' import { openModal } from '../../../actions/modal' diff --git a/app/javascript/gabsocial/features/compose/components/schedule_post_button.js b/app/javascript/gabsocial/features/compose/components/schedule_post_button.js index 08cfe7a7..762d2ad2 100644 --- a/app/javascript/gabsocial/features/compose/components/schedule_post_button.js +++ b/app/javascript/gabsocial/features/compose/components/schedule_post_button.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { injectIntl, defineMessages } from 'react-intl' import { openModal } from '../../../actions/modal' import { closePopover, openPopover } from '../../../actions/popover' diff --git a/app/javascript/gabsocial/features/compose/components/sensitive_media_button.js b/app/javascript/gabsocial/features/compose/components/sensitive_media_button.js index 55a0775b..33d9350b 100644 --- a/app/javascript/gabsocial/features/compose/components/sensitive_media_button.js +++ b/app/javascript/gabsocial/features/compose/components/sensitive_media_button.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { injectIntl, defineMessages } from 'react-intl' import { changeComposeSensitivity } from '../../../actions/compose' import Switch from '../../../components/switch' diff --git a/app/javascript/gabsocial/features/compose/components/spoiler_button.js b/app/javascript/gabsocial/features/compose/components/spoiler_button.js index 146e79e1..a1fcb6f1 100644 --- a/app/javascript/gabsocial/features/compose/components/spoiler_button.js +++ b/app/javascript/gabsocial/features/compose/components/spoiler_button.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { injectIntl, defineMessages } from 'react-intl' import { changeComposeSpoilerness } from '../../../actions/compose' import ComposeExtraButton from './compose_extra_button' diff --git a/app/javascript/gabsocial/features/compose/components/status_visibility_button.js b/app/javascript/gabsocial/features/compose/components/status_visibility_button.js index 9d1138c5..fa758c76 100644 --- a/app/javascript/gabsocial/features/compose/components/status_visibility_button.js +++ b/app/javascript/gabsocial/features/compose/components/status_visibility_button.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { defineMessages, injectIntl } from 'react-intl' import { openPopover } from '../../../actions/popover' import ComposeExtraButton from './compose_extra_button' diff --git a/app/javascript/gabsocial/features/compose/components/upload_form.js b/app/javascript/gabsocial/features/compose/components/upload_form.js index aeb4d590..590e37df 100644 --- a/app/javascript/gabsocial/features/compose/components/upload_form.js +++ b/app/javascript/gabsocial/features/compose/components/upload_form.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePureComponent from 'react-immutable-pure-component' import ProgressBar from '../../../components/progress_bar' diff --git a/app/javascript/gabsocial/features/compose/compose.js b/app/javascript/gabsocial/features/compose/compose.js index 067db4fa..e751d6d8 100644 --- a/app/javascript/gabsocial/features/compose/compose.js +++ b/app/javascript/gabsocial/features/compose/compose.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { clearCompose } from '../../actions/compose' import ComposeFormContainer from './containers/compose_form_container' diff --git a/app/javascript/gabsocial/features/compose/containers/compose_form_container.js b/app/javascript/gabsocial/features/compose/containers/compose_form_container.js index b8cacf59..310c0af9 100644 --- a/app/javascript/gabsocial/features/compose/containers/compose_form_container.js +++ b/app/javascript/gabsocial/features/compose/containers/compose_form_container.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { List as ImmutableList } from 'immutable' import ComposeForm from '../components/compose_form' import { diff --git a/app/javascript/gabsocial/features/follow_requests.js b/app/javascript/gabsocial/features/follow_requests.js index 9ccd1334..4ced4b82 100644 --- a/app/javascript/gabsocial/features/follow_requests.js +++ b/app/javascript/gabsocial/features/follow_requests.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { FormattedMessage } from 'react-intl' import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePropTypes from 'react-immutable-proptypes' diff --git a/app/javascript/gabsocial/features/followers.js b/app/javascript/gabsocial/features/followers.js index 6ad6626a..c07a842b 100644 --- a/app/javascript/gabsocial/features/followers.js +++ b/app/javascript/gabsocial/features/followers.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePropTypes from 'react-immutable-proptypes' import debounce from 'lodash.debounce' diff --git a/app/javascript/gabsocial/features/following.js b/app/javascript/gabsocial/features/following.js index d7585eb2..81241356 100644 --- a/app/javascript/gabsocial/features/following.js +++ b/app/javascript/gabsocial/features/following.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePropTypes from 'react-immutable-proptypes' import debounce from 'lodash.debounce' diff --git a/app/javascript/gabsocial/features/group_about.js b/app/javascript/gabsocial/features/group_about.js index 946bf7f9..01e5018b 100644 --- a/app/javascript/gabsocial/features/group_about.js +++ b/app/javascript/gabsocial/features/group_about.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePureComponent from 'react-immutable-pure-component' import isObject from 'lodash.isobject' diff --git a/app/javascript/gabsocial/features/group_collection_timeline.js b/app/javascript/gabsocial/features/group_collection_timeline.js index cb1619e4..cb5110fa 100644 --- a/app/javascript/gabsocial/features/group_collection_timeline.js +++ b/app/javascript/gabsocial/features/group_collection_timeline.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { injectIntl, defineMessages } from 'react-intl' import { List as ImmutableList } from 'immutable' import { me } from '../initial_state' diff --git a/app/javascript/gabsocial/features/group_create.js b/app/javascript/gabsocial/features/group_create.js index 9c5b74b2..3a413ff3 100644 --- a/app/javascript/gabsocial/features/group_create.js +++ b/app/javascript/gabsocial/features/group_create.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePureComponent from 'react-immutable-pure-component' import { defineMessages, injectIntl } from 'react-intl' diff --git a/app/javascript/gabsocial/features/group_members.js b/app/javascript/gabsocial/features/group_members.js index a836ec34..6eedab3f 100644 --- a/app/javascript/gabsocial/features/group_members.js +++ b/app/javascript/gabsocial/features/group_members.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePropTypes from 'react-immutable-proptypes' import debounce from 'lodash.debounce' diff --git a/app/javascript/gabsocial/features/group_removed_accounts.js b/app/javascript/gabsocial/features/group_removed_accounts.js index b412b8ee..dcdd1c4f 100644 --- a/app/javascript/gabsocial/features/group_removed_accounts.js +++ b/app/javascript/gabsocial/features/group_removed_accounts.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePropTypes from 'react-immutable-proptypes' import { defineMessages, injectIntl } from 'react-intl' diff --git a/app/javascript/gabsocial/features/group_timeline.js b/app/javascript/gabsocial/features/group_timeline.js index 8ef04c43..92995fd5 100644 --- a/app/javascript/gabsocial/features/group_timeline.js +++ b/app/javascript/gabsocial/features/group_timeline.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePropTypes from 'react-immutable-proptypes' import { injectIntl, defineMessages } from 'react-intl' diff --git a/app/javascript/gabsocial/features/groups_collection.js b/app/javascript/gabsocial/features/groups_collection.js index d812ad91..95a869cb 100644 --- a/app/javascript/gabsocial/features/groups_collection.js +++ b/app/javascript/gabsocial/features/groups_collection.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePureComponent from 'react-immutable-pure-component' import { injectIntl, defineMessages } from 'react-intl' diff --git a/app/javascript/gabsocial/features/hashtag_timeline.js b/app/javascript/gabsocial/features/hashtag_timeline.js index 90d81c2b..af76e112 100644 --- a/app/javascript/gabsocial/features/hashtag_timeline.js +++ b/app/javascript/gabsocial/features/hashtag_timeline.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { FormattedMessage } from 'react-intl' import isEqual from 'lodash.isequal' import { expandHashtagTimeline, clearTimeline } from '../actions/timelines' diff --git a/app/javascript/gabsocial/features/home_timeline.js b/app/javascript/gabsocial/features/home_timeline.js index 4417c697..b26efb15 100644 --- a/app/javascript/gabsocial/features/home_timeline.js +++ b/app/javascript/gabsocial/features/home_timeline.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { defineMessages, injectIntl } from 'react-intl' import { withRouter } from 'react-router-dom' import throttle from 'lodash.throttle' diff --git a/app/javascript/gabsocial/features/introduction.js b/app/javascript/gabsocial/features/introduction.js index d5766071..d4b94939 100644 --- a/app/javascript/gabsocial/features/introduction.js +++ b/app/javascript/gabsocial/features/introduction.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import ReactSwipeableViews from 'react-swipeable-views' import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePureComponent from 'react-immutable-pure-component' diff --git a/app/javascript/gabsocial/features/liked_statuses.js b/app/javascript/gabsocial/features/liked_statuses.js index 2019e923..d75ba90d 100644 --- a/app/javascript/gabsocial/features/liked_statuses.js +++ b/app/javascript/gabsocial/features/liked_statuses.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import ImmutablePropTypes from 'react-immutable-proptypes' import { FormattedMessage } from 'react-intl' import ImmutablePureComponent from 'react-immutable-pure-component' diff --git a/app/javascript/gabsocial/features/list_create.js b/app/javascript/gabsocial/features/list_create.js index c73bf275..3e948731 100644 --- a/app/javascript/gabsocial/features/list_create.js +++ b/app/javascript/gabsocial/features/list_create.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { defineMessages, injectIntl } from 'react-intl' import { changeListEditorTitle, submitListEditor } from '../actions/lists' import { closeModal } from '../actions/modal' diff --git a/app/javascript/gabsocial/features/list_edit.js b/app/javascript/gabsocial/features/list_edit.js index 025d9a62..fc0b1778 100644 --- a/app/javascript/gabsocial/features/list_edit.js +++ b/app/javascript/gabsocial/features/list_edit.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePureComponent from 'react-immutable-pure-component' import { injectIntl, defineMessages } from 'react-intl' diff --git a/app/javascript/gabsocial/features/list_timeline.js b/app/javascript/gabsocial/features/list_timeline.js index 5242c8f5..e77d1411 100644 --- a/app/javascript/gabsocial/features/list_timeline.js +++ b/app/javascript/gabsocial/features/list_timeline.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePureComponent from 'react-immutable-pure-component' import { FormattedMessage } from 'react-intl' diff --git a/app/javascript/gabsocial/features/lists_directory.js b/app/javascript/gabsocial/features/lists_directory.js index 0b06cd31..fd7192c7 100644 --- a/app/javascript/gabsocial/features/lists_directory.js +++ b/app/javascript/gabsocial/features/lists_directory.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePropTypes from 'react-immutable-proptypes' import { defineMessages, injectIntl } from 'react-intl' diff --git a/app/javascript/gabsocial/features/mutes.js b/app/javascript/gabsocial/features/mutes.js index 06ab7a0d..8e5c102a 100644 --- a/app/javascript/gabsocial/features/mutes.js +++ b/app/javascript/gabsocial/features/mutes.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { injectIntl, FormattedMessage } from 'react-intl' import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePropTypes from 'react-immutable-proptypes' diff --git a/app/javascript/gabsocial/features/news.js b/app/javascript/gabsocial/features/news.js index c7123f0b..188fee9e 100644 --- a/app/javascript/gabsocial/features/news.js +++ b/app/javascript/gabsocial/features/news.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { withRouter } from 'react-router-dom' import isObject from 'lodash.isobject' import queryString from 'query-string' diff --git a/app/javascript/gabsocial/features/notifications.js b/app/javascript/gabsocial/features/notifications.js index b848447c..1af75318 100644 --- a/app/javascript/gabsocial/features/notifications.js +++ b/app/javascript/gabsocial/features/notifications.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { withRouter } from 'react-router-dom' import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePureComponent from 'react-immutable-pure-component' diff --git a/app/javascript/gabsocial/features/pro_timeline.js b/app/javascript/gabsocial/features/pro_timeline.js index 0956a79f..0f9af3d2 100644 --- a/app/javascript/gabsocial/features/pro_timeline.js +++ b/app/javascript/gabsocial/features/pro_timeline.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { defineMessages, injectIntl } from 'react-intl' import { expandProTimeline } from '../actions/timelines' import { connectProStream } from '../actions/streaming' diff --git a/app/javascript/gabsocial/features/search.js b/app/javascript/gabsocial/features/search.js index 6f6b9505..11734681 100644 --- a/app/javascript/gabsocial/features/search.js +++ b/app/javascript/gabsocial/features/search.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePureComponent from 'react-immutable-pure-component' import { withRouter } from 'react-router-dom' diff --git a/app/javascript/gabsocial/features/shortcuts.js b/app/javascript/gabsocial/features/shortcuts.js index 65457b8b..f280f0f2 100644 --- a/app/javascript/gabsocial/features/shortcuts.js +++ b/app/javascript/gabsocial/features/shortcuts.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePropTypes from 'react-immutable-proptypes' import { fetchShortcuts } from '../actions/shortcuts' diff --git a/app/javascript/gabsocial/features/status.js b/app/javascript/gabsocial/features/status.js index 6b0a043e..35084b86 100644 --- a/app/javascript/gabsocial/features/status.js +++ b/app/javascript/gabsocial/features/status.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePureComponent from 'react-immutable-pure-component' import { diff --git a/app/javascript/gabsocial/features/status_likes.js b/app/javascript/gabsocial/features/status_likes.js index 6284b35c..d9de3ab0 100644 --- a/app/javascript/gabsocial/features/status_likes.js +++ b/app/javascript/gabsocial/features/status_likes.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePropTypes from 'react-immutable-proptypes' import { FormattedMessage } from 'react-intl' diff --git a/app/javascript/gabsocial/features/status_reposts.js b/app/javascript/gabsocial/features/status_reposts.js index e6277aab..68965728 100644 --- a/app/javascript/gabsocial/features/status_reposts.js +++ b/app/javascript/gabsocial/features/status_reposts.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import ImmutablePureComponent from 'react-immutable-pure-component' import ImmutablePropTypes from 'react-immutable-proptypes' import { FormattedMessage } from 'react-intl' diff --git a/app/javascript/gabsocial/features/ui/ui.js b/app/javascript/gabsocial/features/ui/ui.js index 2f1328ef..aafbfb8f 100644 --- a/app/javascript/gabsocial/features/ui/ui.js +++ b/app/javascript/gabsocial/features/ui/ui.js @@ -1,6 +1,7 @@ 'use strict' import React from 'react' +import { connect } from 'react-redux' import { HotKeys } from 'react-hotkeys' import { defineMessages, injectIntl } from 'react-intl' import { Switch, Redirect, withRouter } from 'react-router-dom' diff --git a/app/javascript/gabsocial/features/ui/util/bundle.js b/app/javascript/gabsocial/features/ui/util/bundle.js index 64a9ab48..80298a76 100644 --- a/app/javascript/gabsocial/features/ui/util/bundle.js +++ b/app/javascript/gabsocial/features/ui/util/bundle.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { fetchBundleRequest, fetchBundleSuccess, diff --git a/app/javascript/gabsocial/pages/community_page.js b/app/javascript/gabsocial/pages/community_page.js index 37f06633..b9253bc3 100644 --- a/app/javascript/gabsocial/pages/community_page.js +++ b/app/javascript/gabsocial/pages/community_page.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { defineMessages, injectIntl } from 'react-intl' import { openModal } from '../actions/modal' import PageTitle from '../features/ui/util/page_title' diff --git a/app/javascript/gabsocial/pages/group_page.js b/app/javascript/gabsocial/pages/group_page.js index cb557216..d8d280c0 100644 --- a/app/javascript/gabsocial/pages/group_page.js +++ b/app/javascript/gabsocial/pages/group_page.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { defineMessages, injectIntl } from 'react-intl' import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePureComponent from 'react-immutable-pure-component' diff --git a/app/javascript/gabsocial/pages/groups_page.js b/app/javascript/gabsocial/pages/groups_page.js index aac5d10d..93e49d30 100644 --- a/app/javascript/gabsocial/pages/groups_page.js +++ b/app/javascript/gabsocial/pages/groups_page.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { me } from '../initial_state' import { defineMessages, injectIntl } from 'react-intl' import PageTitle from '../features/ui/util/page_title' diff --git a/app/javascript/gabsocial/pages/hashtag_page.js b/app/javascript/gabsocial/pages/hashtag_page.js index 7e090692..52dfe2c7 100644 --- a/app/javascript/gabsocial/pages/hashtag_page.js +++ b/app/javascript/gabsocial/pages/hashtag_page.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { openModal } from '../actions/modal' import { defineMessages, injectIntl } from 'react-intl' import isObject from 'lodash.isobject' diff --git a/app/javascript/gabsocial/pages/home_page.js b/app/javascript/gabsocial/pages/home_page.js index e26170e0..85fca425 100644 --- a/app/javascript/gabsocial/pages/home_page.js +++ b/app/javascript/gabsocial/pages/home_page.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import throttle from 'lodash.throttle' import { openModal } from '../actions/modal' import { defineMessages, injectIntl } from 'react-intl' diff --git a/app/javascript/gabsocial/pages/list_page.js b/app/javascript/gabsocial/pages/list_page.js index b552533a..0b432f3a 100644 --- a/app/javascript/gabsocial/pages/list_page.js +++ b/app/javascript/gabsocial/pages/list_page.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePureComponent from 'react-immutable-pure-component' import { defineMessages, injectIntl } from 'react-intl' diff --git a/app/javascript/gabsocial/pages/lists_page.js b/app/javascript/gabsocial/pages/lists_page.js index a1e26418..565f77d0 100644 --- a/app/javascript/gabsocial/pages/lists_page.js +++ b/app/javascript/gabsocial/pages/lists_page.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { openModal } from '../actions/modal' import { defineMessages, injectIntl } from 'react-intl' import PageTitle from '../features/ui/util/page_title' diff --git a/app/javascript/gabsocial/pages/notifications_page.js b/app/javascript/gabsocial/pages/notifications_page.js index 56d0d472..7b57f1e9 100644 --- a/app/javascript/gabsocial/pages/notifications_page.js +++ b/app/javascript/gabsocial/pages/notifications_page.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { defineMessages, injectIntl } from 'react-intl' import { setFilter } from '../actions/notifications' import { me } from '../initial_state' diff --git a/app/javascript/gabsocial/pages/profile_page.js b/app/javascript/gabsocial/pages/profile_page.js index 3cf6db79..fb0aa323 100644 --- a/app/javascript/gabsocial/pages/profile_page.js +++ b/app/javascript/gabsocial/pages/profile_page.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { FormattedMessage } from 'react-intl' import ImmutablePropTypes from 'react-immutable-proptypes' import ImmutablePureComponent from 'react-immutable-pure-component' diff --git a/app/javascript/gabsocial/pages/search_page.js b/app/javascript/gabsocial/pages/search_page.js index 5ffb13aa..47ca3bc3 100644 --- a/app/javascript/gabsocial/pages/search_page.js +++ b/app/javascript/gabsocial/pages/search_page.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { defineMessages, injectIntl } from 'react-intl' import { BREAKPOINT_EXTRA_SMALL } from '../constants' import Responsive from '../features/ui/util/responsive_component' diff --git a/app/javascript/gabsocial/pages/shortcuts_page.js b/app/javascript/gabsocial/pages/shortcuts_page.js index 8bffdc95..c5044245 100644 --- a/app/javascript/gabsocial/pages/shortcuts_page.js +++ b/app/javascript/gabsocial/pages/shortcuts_page.js @@ -1,4 +1,5 @@ import React from 'react' +import { connect } from 'react-redux' import { defineMessages, injectIntl } from 'react-intl' import { openModal } from '../actions/modal' import { MODAL_EDIT_SHORTCUTS } from '../constants' diff --git a/config/webpack/shared.js b/config/webpack/shared.js index 78eaa915..1133b5f8 100644 --- a/config/webpack/shared.js +++ b/config/webpack/shared.js @@ -63,7 +63,6 @@ module.exports = { plugins: [ new webpack.ProvidePlugin({ - connect: ['react-redux', 'connect'], PropTypes: 'prop-types', _s: `${resolve(settings.source_path)}/styles/global.css`, }),