mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
10 lines
307 B
JavaScript
10 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);
|