This repository has been archived by the owner on Jan 9, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: added route for visualize component and performed sanity check
- Loading branch information
1 parent
a105748
commit 9dc7855
Showing
2 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
import {} from '@hospitalrun/components' | ||
import React from 'react' | ||
// import { useDispatch, useSelector } from 'react-redux' | ||
// import { useParams, useHistory } from 'react-router-dom' | ||
|
||
// import useAddBreadcrumbs from '../../page-header/breadcrumbs/useAddBreadcrumbs' | ||
// import useTitle from '../../page-header/title/useTitle' | ||
// import useTranslator from '../../shared/hooks/useTranslator' | ||
// import { RootState } from '../../shared/store' | ||
|
||
const VisualizeIncidents = () => ( | ||
// const dispatch = useDispatch() | ||
// const { t } = useTranslator() | ||
// const history = useHistory() | ||
// const { id } = useParams() | ||
// const { incident } = useSelector((state: RootState) => state.incident) | ||
// useTitle(incident ? incident.code : '') | ||
// const breadcrumbs = [ | ||
// { | ||
// i18nKey: incident ? incident.code : '', | ||
// location: `/incidents/${id}`, | ||
// }, | ||
// ] | ||
// useAddBreadcrumbs(breadcrumbs) | ||
|
||
<> | ||
<h1>Hello from VisualizeIncidents.tsx!</h1> | ||
</> | ||
) | ||
|
||
export default VisualizeIncidents |