File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed
app/components/containers Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ class App extends Component {
5858 < Route name = "account-recovery" path = "/account-recovery" component = { AccountRecovery } />
5959 < Route name = "password-reset" path = "/password-reset/:userId/:token" component = { PasswordReset } />
6060 < Route name = "password-change" path = "/password-change" component = { Auth ( PasswordChange ) } />
61- < Route name = "404" path = "*" component = { NotFound } />
61+ < Route name = "404" path = "*" component = { Auth ( NotFound ) } />
6262 </ Switch >
6363 </ Fragment >
6464 ) ;
Original file line number Diff line number Diff line change 11import React from 'react' ;
2- import Auth from './Auth' ;
32import NotFound from '../presentation/NotFound' ;
43
5- export default Auth ( ( ) => < NotFound /> ) ;
4+ export default ( ) => < NotFound /> ;
Original file line number Diff line number Diff line change 11import React , { Component , Fragment } from 'react' ;
22import { connect } from 'react-redux' ;
33import { withRouter } from 'react-router-dom' ;
4- import Auth from './Auth' ;
54import { setAppBarTitle } from '../../actions/app/appActions' ;
65import MessageBar from '../presentation/MessageBar' ;
76import * as passwordChangeActions from '../../actions/passwordChange/passwordChangeActions' ;
@@ -89,4 +88,4 @@ const mapDispatchToProps = (dispatch) => {
8988 } ;
9089} ;
9190
92- export default Auth ( withRouter ( connect ( mapStateToProps , mapDispatchToProps ) ( PasswordChange ) ) ) ;
91+ export default withRouter ( connect ( mapStateToProps , mapDispatchToProps ) ( PasswordChange ) ) ;
You can’t perform that action at this time.
0 commit comments