Add import/export feature
This commit is contained in:
@@ -66,6 +66,7 @@ const MedPlanAssistant = () => {
|
||||
|
||||
const {
|
||||
appState,
|
||||
updateState,
|
||||
updateNestedState,
|
||||
updateUiSetting,
|
||||
handleReset,
|
||||
@@ -219,10 +220,13 @@ const MedPlanAssistant = () => {
|
||||
pkParams={pkParams}
|
||||
therapeuticRange={therapeuticRange}
|
||||
uiSettings={uiSettings}
|
||||
days={days}
|
||||
doseIncrement={doseIncrement}
|
||||
onUpdatePkParams={(key: any, value: any) => updateNestedState('pkParams', key, value)}
|
||||
onUpdateTherapeuticRange={(key: any, value: any) => updateNestedState('therapeuticRange', key, value)}
|
||||
onUpdateUiSetting={updateUiSetting}
|
||||
onReset={handleReset}
|
||||
onImportDays={(importedDays: any) => updateState('days', importedDays)}
|
||||
t={t}
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user