wip quote post composing

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak
2022-01-23 18:44:17 +01:00
parent c0bee9be3c
commit 15d4910db5
15 changed files with 146 additions and 18 deletions

View File

@@ -0,0 +1,16 @@
import { connect } from 'react-redux';
import QuotedStatus from 'soapbox/features/status/components/quoted_status';
import { makeGetStatus } from 'soapbox/selectors';
const makeMapStateToProps = () => {
const getStatus = makeGetStatus();
const mapStateToProps = state => ({
status: getStatus(state, { id: state.getIn(['compose', 'quote']) }),
});
return mapStateToProps;
};
export default connect(makeMapStateToProps)(QuotedStatus);