Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

Commit

Permalink
importing a modular component from github
Browse files Browse the repository at this point in the history
  • Loading branch information
Strand McCutchen committed Mar 1, 2018
1 parent 8a101e7 commit c24f673
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 8 deletions.
25 changes: 18 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -138,6 +138,7 @@
"redux-mock-store": "^1.3.0",
"redux-persist": "^5.4.0",
"redux-persist-transform-filter": "0.0.16",
"redux-thunk": "^2.2.0"
"redux-thunk": "^2.2.0",
"sia-static-list-component": "github:strand/sia-static-list-component"
}
}
3 changes: 3 additions & 0 deletions src/components/MainComponent.js
Expand Up @@ -17,6 +17,8 @@ import Debug from 'components/Debug'
import { isChromeExtensionBackground } from 'services/notificationService'
import Notifications from 'components/Extension/Notifications'

import StaticList from 'sia-static-list-component'

const history = createBrowserHistory()

export default class MainComponent extends React.Component {
Expand All @@ -33,6 +35,7 @@ export default class MainComponent extends React.Component {
<TopNav />
<Route exact path='/' component={Home} />
<Route exact path='/extension.html' component={Home} />
<Route path='/tickets/:ticketId/checklist' component={StaticList} />
<Route path='/search' component={CreateIncident} />
<Route path='/tickets/:ticketId' component={Ticket} />
<Route path='/tickets/:firstTicketId/compare/:secondTicketId' component={CompareTickets} />
Expand Down

0 comments on commit c24f673

Please sign in to comment.