You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
planka_custom/client/src/containers/AppContainer.js

15 lines
305 B
JavaScript

import { connect } from 'react-redux';
import { currentModalSelector } from '../selectors';
import App from '../components/App';
const mapStateToProps = (state) => {
const currentModal = currentModalSelector(state);
return {
currentModal,
};
};
export default connect(mapStateToProps)(App);