diff --git a/src/components/UpdateFormLayout/SymptomsIntensity.tsx b/src/components/UpdateFormLayout/SymptomsIntensity.tsx index de2b36e5..6d8619d0 100644 --- a/src/components/UpdateFormLayout/SymptomsIntensity.tsx +++ b/src/components/UpdateFormLayout/SymptomsIntensity.tsx @@ -81,13 +81,14 @@ export default function SymptomsIntensity({ changeStatus, selection }: any) { minHeight="95vh" width="100%" flexDirection="column" - sx={{ flexGrow: 1 }} + sx={{ flexGrow: 1, margin: 'auto' }} style={styles.centered} > + + + Your symptoms have been updated. + + + Go back to dashboard + + + + ); +} diff --git a/src/components/UpdateFormLayout/SymptomsUpdating.tsx b/src/components/UpdateFormLayout/SymptomsUpdating.tsx index 9e7b77bb..1149ed7a 100644 --- a/src/components/UpdateFormLayout/SymptomsUpdating.tsx +++ b/src/components/UpdateFormLayout/SymptomsUpdating.tsx @@ -110,7 +110,7 @@ export default function SymptomsUpdating({ changeStatus, changeSymptoms }: any) diff --git a/src/components/UpdateFormLayout/UpdateSymptomsLayout.tsx b/src/components/UpdateFormLayout/UpdateSymptomsLayout.tsx index 5d39a59b..475af504 100644 --- a/src/components/UpdateFormLayout/UpdateSymptomsLayout.tsx +++ b/src/components/UpdateFormLayout/UpdateSymptomsLayout.tsx @@ -1,6 +1,7 @@ import React, { useState } from 'react'; import SymptomsQuestion from './SymptomsUpdating'; import SymptomsIntensity from './SymptomsIntensity'; +import SymptomsUpdateResponse from './SymptomsUpdateResponse'; export default function FormLayout({ changeState }: any) { const [status, setStatus] = useState('1'); @@ -14,6 +15,9 @@ export default function FormLayout({ changeState }: any) { case '2': layout = ; break; + case 'response': + layout = ; + break; default: layout = ''; }