Ignore:
Timestamp:
01/12/21 21:55:23 (4 years ago)
Author:
i-ina <76742075+i-ina@…>
Branches:
master
Children:
2c06dce
Parents:
96eb8bc
Message:

added internship and projects

File:
1 edited

Legend:

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

    r96eb8bc r48e4a3e  
    1111import UserProjects from "../data/components/user_projects";
    1212import CompanyJobs from "../data/components/company_jobs";
     13import TeamProjects from "../data/components/team_projects";
     14import TeamJobs from "../data/components/team_jobs";
     15import CompanyInternships from "../data/components/company_internships";
    1316
    1417class App extends Component{
     
    3336                      <Route path={"/user/internships"} render={() => <UserInternships userProfile={this.state.currentUser}/>} />
    3437                      <Route path={"/user/projects"} render={() => <UserProjects userProfile={this.state.currentUser}/>} />
    35                       <Route path={"/team/jobs"} render={() => <CompanyJobs userProfile={this.state.currentUser} />}/>
    36                       <Route path={"/team/projects"} />
     38                      <Route path={"/team/jobs"} render={() => <TeamJobs userProfile={this.state.currentUser} />}/>
     39                      <Route path={"/team/projects"} render={() => <TeamProjects userProfile={this.state.currentUser} />}/>
    3740                      <Route path={"/company/jobs"} render={() => <CompanyJobs userProfile={this.state.currentUser} />}/>
    38                       <Route path={"/company/internships"}/>
     41                      <Route path={"/company/internships"} render={() => <CompanyInternships userProfile={this.state.currentUser}/>} />
    3942                      <Route path={"/profile/edit"} />
    4043                      <Route path={"/job/edit"} />
Note: See TracChangeset for help on using the changeset viewer.