ComposerTextarea → AutosuggestTextarea

This commit is contained in:
Thibaut Girka authored and ThibG committed 2019-04-22 20:15:47 +02:00
1 parent a243567a3e
commit 47faf47ed5
10 files changed
+351 -500

No files matched your search

@@ -0,0 +1,15 @@
import { connect } from 'react-redux';
import AutosuggestAccount from '../components/autosuggest_account';
import { makeGetAccount } from 'flavours/glitch/selectors';
const makeMapStateToProps = () => {
const getAccount = makeGetAccount();
const mapStateToProps = (state, { id }) => ({
account: getAccount(state, id),
});
return mapStateToProps;
};
export default connect(makeMapStateToProps)(AutosuggestAccount);