mirror of
https://github.com/mastodon/mastodon.git
synced 2024-08-20 21:08:15 -07:00
9 lines
307 B
JavaScript
9 lines
307 B
JavaScript
import { connect } from 'react-redux';
|
|
import { getSuggestions } from '../../../selectors';
|
|
import SuggestionsBox from '../components/suggestions_box';
|
|
|
|
const mapStateToProps = (state) => ({
|
|
accounts: getSuggestions(state)
|
|
});
|
|
|
|
export default connect(mapStateToProps)(SuggestionsBox);
|