mastodon/app/assets/javascripts/components/features/compose/containers/suggestions_container.jsx

8 lines
256 B
JavaScript

import { connect } from 'react-redux';
import SuggestionsBox from '../components/suggestions_box';
const mapStateToProps = (state) => ({
accountIds: state.get('suggestions')
});
export default connect(mapStateToProps)(SuggestionsBox);