Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ReactDOM.render((
- <Route path="/" render={() => (
- <Shell>
- <Switch>
- <Route path="/" exact component={Dashboard} />
- <Route path="/search" component={Search} />
- <Route path="/setup" component={Setup} />
- <Route path="/code-maintenance" component={CodeMaintenance} />
- <Route path="/organization/new" render={(props) => (
- <Organization {...props} isNewOrganization={true}/>
- )}/>
- <Route path="/organization/:id/gold_copy" render={() => (
- <Organization isGoldCopy={true}/>
- )}/>
- <Route path="/organization/:id" component={Organization} />
- <Route path="/exception-detail" render={() => (
- <ExceptionDetail>
- <Switch>
- <Route path="/exception-detail/:scrubBatchId" component={ExceptionDetail} />
- </Switch>
- </ExceptionDetail>
- )}/>
- </Route>
- <Route path="/case/new" isNew={true} component={Case} />
- <Route path="/case/:caseId" component={Case} />
- <Redirect to="/" />
- </Switch>
- </Shell>
- )}/>
- ), el)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement