mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-13 10:31:23 +00:00
10 lines
307 B
React
10 lines
307 B
React
|
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);
|