pleroma/app/soapbox/features/status/containers/quoted_status_container.js
marcin mikołajczak 15d4910db5 wip quote post composing
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-23 18:44:17 +01:00

17 lines
No EOL
419 B
JavaScript

import { connect } from 'react-redux';
import { makeGetStatus } from 'soapbox/selectors';
import QuotedStatus from '../components/quoted_status';
const makeMapStateToProps = () => {
const getStatus = makeGetStatus();
const mapStateToProps = (state, props) => ({
status: getStatus(state, { id: props.statusId }),
});
return mapStateToProps;
};
export default connect(makeMapStateToProps)(QuotedStatus);