Ignore:
Timestamp:
01/14/21 03:04:24 (4 years ago)
Author:
Vzdra <vladko.zdravkovski@…>
Branches:
master
Children:
db94dbd
Parents:
580ba1a
Message:

edit complete

File:
1 edited

Legend:

Unmodified
Added
Removed
  • client_app/src/components/main/App.js

    r580ba1a rbe373a8  
    2020import EditUser from "../account_edit/user_edit";
    2121import EditCompany from "../account_edit/company_edit";
     22import EditTeam from "../account_edit/team_edit";
    2223
    2324class App extends Component{
     
    5354                      <Route path={"/user/edit"} render={() => <EditUser oldUser={this.state.currentUser} updateUser={this.updateUser} message={this.setSuccess}/>}/>
    5455                      <Route path={"/company/edit"} render={() => <EditCompany oldUser={this.state.currentUser} updateUser={this.updateUser} message={this.setSuccess}/>}/>
     56                      <Route path={"/team/edit"} render={() => <EditTeam oldUser={this.state.currentUser} updateUser={this.updateUser} message={this.setSuccess}/>}/>
    5557                      <Route path={"/logout"} render={() => <Redirect to={"/login"}/>}/>
    5658                      <Route path={"/"} render={() => <Redirect to={"/login"}/>}/>
     
    7678  setSuccess = (message) => {
    7779      this.setState({
    78           success: message
     80          success: message,
     81          error: null
    7982      })
    8083  }
Note: See TracChangeset for help on using the changeset viewer.