@@ -7,8 +7,6 @@ import * as usersActions from '../actions/usersActions';
77import * as authActions from '../actions/authActions' ;
88import * as routesActions from '../actions/routesActions' ;
99import ChangePassword from '../components/ChangePassword' ;
10- import HeaderContainer from './HeaderContainer' ;
11- import Footer from '../components/Footer' ;
1210
1311class ChangePasswordContainer extends Component {
1412 componentDidMount ( ) {
@@ -27,21 +25,17 @@ class ChangePasswordContainer extends Component {
2725 let oldPassword = _ . get ( password , 'oldPassword' ) ;
2826 let newPassword = _ . get ( password , 'newPassword' ) ;
2927 return (
30- < div >
31- < HeaderContainer />
32- < ChangePassword
33- isFetching = { _ . get ( password , 'isFetching' ) }
34- oldPassword = { oldPassword }
35- oldPasswordInputChange = { actions . passwordChangeOldInput }
36- newPassword = { newPassword }
37- newPasswordInputChange = { actions . passwordChangeNewInput }
38- newPasswordConfirm = { _ . get ( password , 'newPasswordConfirm' ) }
39- newPasswordConfirmInputChange = { actions . passwordChangeNewConfirmInput }
40- submit = { ( ) => actions . modifyPassword ( oldPassword , newPassword ) }
41- error = { _ . get ( password , 'error' ) }
42- />
43- < Footer />
44- </ div >
28+ < ChangePassword
29+ isFetching = { _ . get ( password , 'isFetching' ) }
30+ oldPassword = { oldPassword }
31+ oldPasswordInputChange = { actions . passwordChangeOldInput }
32+ newPassword = { newPassword }
33+ newPasswordInputChange = { actions . passwordChangeNewInput }
34+ newPasswordConfirm = { _ . get ( password , 'newPasswordConfirm' ) }
35+ newPasswordConfirmInputChange = { actions . passwordChangeNewConfirmInput }
36+ submit = { ( ) => actions . modifyPassword ( oldPassword , newPassword ) }
37+ error = { _ . get ( password , 'error' ) }
38+ />
4539 ) ;
4640 }
4741}
0 commit comments