diff --git a/app/soapbox/features/remote_timeline/components/pinned_hosts_picker.js b/app/soapbox/features/remote_timeline/components/pinned_hosts_picker.js deleted file mode 100644 index f9cc609a2..000000000 --- a/app/soapbox/features/remote_timeline/components/pinned_hosts_picker.js +++ /dev/null @@ -1,46 +0,0 @@ -'use strict'; - -import classNames from 'classnames'; -import PropTypes from 'prop-types'; -import React from 'react'; -import ImmutablePropTypes from 'react-immutable-proptypes'; -import { connect } from 'react-redux'; -import { Link } from 'react-router-dom'; - -import { getSettings } from 'soapbox/actions/settings'; - -const mapStateToProps = state => { - const settings = getSettings(state); - - return { - pinnedHosts: settings.getIn(['remote_timeline', 'pinnedHosts']), - }; -}; - -class PinnedHostsPicker extends React.PureComponent { - - static propTypes = { - dispatch: PropTypes.func.isRequired, - pinnedHosts: ImmutablePropTypes.orderedSet, - host: PropTypes.string, - }; - - render() { - const { pinnedHosts, host: activeHost } = this.props; - - if (!pinnedHosts || pinnedHosts.isEmpty()) return null; - - return ( -