- The fix is in! Linty fresh and pretty...
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
import { connect } from 'react-redux';
|
||||
|
||||
import { getProfile } from '../../selectors/profile.js';
|
||||
import { commonProfileStateToProps } from './Profile.container.js';
|
||||
import EditProfile from './EditProfile.js';
|
||||
|
||||
const matchStateToProps = (dispatch) => {
|
||||
const matchStateToProps = (state) => {
|
||||
const commonProps = commonProfileStateToProps(state);
|
||||
const profile = getProfile(state);
|
||||
|
||||
@@ -14,4 +15,7 @@ const matchStateToProps = (dispatch) => {
|
||||
};
|
||||
};
|
||||
|
||||
export default connect(matchStateToProps, null)(EditProfile);
|
||||
export default connect(
|
||||
matchStateToProps,
|
||||
null,
|
||||
)(EditProfile);
|
||||
|
||||
Reference in New Issue
Block a user