Update moved profile selector to it's original location
This commit is contained in:
21
src/App.tsx
21
src/App.tsx
@@ -308,6 +308,17 @@ const MedPlanAssistant = () => {
|
|||||||
|
|
||||||
{/* Left Column - Controls */}
|
{/* Left Column - Controls */}
|
||||||
<div className="lg:col-span-1 space-y-6">
|
<div className="lg:col-span-1 space-y-6">
|
||||||
|
<ProfileSelector
|
||||||
|
profiles={profiles}
|
||||||
|
activeProfileId={activeProfileId}
|
||||||
|
hasUnsavedChanges={hasUnsavedChanges()}
|
||||||
|
onSwitchProfile={switchProfile}
|
||||||
|
onSaveProfile={saveProfile}
|
||||||
|
onSaveProfileAs={saveProfileAs}
|
||||||
|
onRenameProfile={updateProfileName}
|
||||||
|
onDeleteProfile={deleteProfile}
|
||||||
|
t={t}
|
||||||
|
/>
|
||||||
<DaySchedule
|
<DaySchedule
|
||||||
days={days}
|
days={days}
|
||||||
doseIncrement={doseIncrement}
|
doseIncrement={doseIncrement}
|
||||||
@@ -324,16 +335,6 @@ const MedPlanAssistant = () => {
|
|||||||
|
|
||||||
{/* Right Column - Settings */}
|
{/* Right Column - Settings */}
|
||||||
<div className="lg:col-span-1 space-y-4">
|
<div className="lg:col-span-1 space-y-4">
|
||||||
<ProfileSelector
|
|
||||||
profiles={profiles}
|
|
||||||
activeProfileId={activeProfileId}
|
|
||||||
hasUnsavedChanges={hasUnsavedChanges()}
|
|
||||||
onSwitchProfile={switchProfile}
|
|
||||||
onSaveProfile={saveProfile}
|
|
||||||
onSaveProfileAs={saveProfileAs}
|
|
||||||
onDeleteProfile={deleteProfile}
|
|
||||||
t={t}
|
|
||||||
/>
|
|
||||||
<Settings
|
<Settings
|
||||||
pkParams={pkParams}
|
pkParams={pkParams}
|
||||||
therapeuticRange={therapeuticRange}
|
therapeuticRange={therapeuticRange}
|
||||||
|
|||||||
Reference in New Issue
Block a user