SHARE
TWEET

Untitled

a guest May 19th, 2017 37 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ReactDOM.render((
  2.   <Route path="/" render={() => (
  3.     <Shell>
  4.       <Switch>
  5.         <Route path="/" exact component={Dashboard} />
  6.         <Route path="/search" component={Search} />
  7.         <Route path="/setup" component={Setup} />
  8.         <Route path="/code-maintenance" component={CodeMaintenance} />
  9.         <Route path="/organization/new" render={(props) => (
  10.           <Organization {...props} isNewOrganization={true}/>
  11.         )}/>
  12.         <Route path="/organization/:id/gold_copy" render={() => (
  13.           <Organization isGoldCopy={true}/>
  14.         )}/>
  15.         <Route path="/organization/:id" component={Organization} />
  16.         <Route path="/exception-detail" render={() => (
  17.           <ExceptionDetail>
  18.             <Switch>
  19.               <Route path="/exception-detail/:scrubBatchId" component={ExceptionDetail} />
  20.             </Switch>
  21.           </ExceptionDetail>
  22.         )}/>
  23.         </Route>
  24.         <Route path="/case/new" isNew={true} component={Case} />
  25.         <Route path="/case/:caseId" component={Case} />
  26.         <Redirect to="/" />
  27.       </Switch>
  28.     </Shell>
  29.   )}/>
  30. ), el)
RAW Paste Data
Top