mirror of
https://github.com/plankanban/planka.git
synced 2025-12-27 09:14:59 +03:00
15 lines
314 B
JavaScript
15 lines
314 B
JavaScript
|
|
import { connect } from 'react-redux';
|
||
|
|
|
||
|
|
import { pathSelector } from '../selectors';
|
||
|
|
import FixedWrapper from '../components/FixedWrapper';
|
||
|
|
|
||
|
|
const mapStateToProps = (state) => {
|
||
|
|
const { projectId } = pathSelector(state);
|
||
|
|
|
||
|
|
return {
|
||
|
|
projectId,
|
||
|
|
};
|
||
|
|
};
|
||
|
|
|
||
|
|
export default connect(mapStateToProps)(FixedWrapper);
|