mirror of
https://github.com/Haiti-Distributed-Healthcare-System/hdhs.git
synced 2026-10-30 19:36:19 +00:00
added test results routing
This commit is contained in:
1 parent
acf0c594fa
commit
6bcba4f276
1 file changed
+19
-8
+19
-8
@@ -9,6 +9,7 @@ import LandingPage from './components/LandingPage'
|
||||
import Wrapper from './Wrapper'
|
||||
import PatientInfoForm from './components/PatientInfoForm'
|
||||
import DiagnosisForm from './components/DiagnosisForm'
|
||||
import TestResults from './components/TestResultsForm'
|
||||
|
||||
import './scss/App.scss'
|
||||
import './antd-mobile.css'
|
||||
@@ -35,14 +36,24 @@ const App: React.FunctionComponent = () => {
|
||||
</Wrapper>
|
||||
</Route>
|
||||
<Route path="/diagnosis">
|
||||
<Wrapper
|
||||
navTitle="Diagnosis"
|
||||
leftArrowText="Patient Info"
|
||||
leftArrowRoute="/patientinfo"
|
||||
>
|
||||
<DiagnosisForm />
|
||||
</Wrapper>
|
||||
</Route>
|
||||
<Wrapper
|
||||
navTitle="Diagnosis"
|
||||
leftArrowText="Patient Info"
|
||||
leftArrowRoute="/patientinfo"
|
||||
>
|
||||
<DiagnosisForm />
|
||||
</Wrapper>
|
||||
</Route>
|
||||
<Route path="/tests">
|
||||
<Wrapper
|
||||
navTitle="Tests"
|
||||
// TODO: uncomment when Treatment component is completed
|
||||
// leftArrowText="Treatment"
|
||||
// leftArrowRoute="/treatment"
|
||||
>
|
||||
<TestResults />
|
||||
</Wrapper>
|
||||
</Route>
|
||||
<Route path="/easy-peasy">
|
||||
<DebugShowEasyPeasy />
|
||||
</Route>
|
||||
|
||||
Reference in new issue
Block a user