export default function Routes()

in frontend/webapp/src/Routes.js [10:20]


export default function Routes({ childProps }){
  return (
    <Switch>
      <AuthenticatedRoute path="/" exact component={TrainModelPage} props={childProps}/>
      <UnauthenticatedRoute path="/login" exact component={Login} props={childProps}/>
      <AuthenticatedRoute path="/infer" exact component={InferencePage} props={childProps}/>
      { /* Finally, catch all unmatched routes */ }
      <Route component={NotFound} />
    </Switch>
  );
}