Ignore:
Timestamp:
01/10/21 21:57:22 (4 years ago)
Author:
i-ina <76742075+i-ina@…>
Branches:
master
Children:
5f9d25a
Parents:
6f9b7b0
Message:

initial jobs interface

File:
1 edited

Legend:

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

    r6f9b7b0 rfc8421e  
    77import './App.css';
    88import UserLogin from "../../repository/login_repo";
     9import UserJobs from "../data/components/user_jobs";
    910
    1011class App extends Component{
     
    1415        logged: false,
    1516        error: null,
    16         currentUser: {}
     17        currentUser: {
     18        }
    1719    }
    1820  }
     
    2527                      <Route path={"/login"} render={() => <Login error={this.state.error} onCompleteForm={this.attemptLogin} loggedIn={this.state.logged}/>}/>
    2628                      <Route path={"/profile"} render={() => <Profile userProfile={this.state.currentUser}/>}/>
     29                      <Route path={"/jobs"} render={() => <UserJobs userProfile={this.state.currentUser}/>}/>
    2730                      <Route path={"/"} render={() => <Redirect to={"/login"}/>}/>
    2831                  </main>
Note: See TracChangeset for help on using the changeset viewer.