diff --git a/web/src/pages/ProfileEdit/ExtendedProfileForm.jsx b/web/src/pages/ProfileEdit/ExtendedProfileForm.jsx index 89da34ccd..a108cc4fb 100644 --- a/web/src/pages/ProfileEdit/ExtendedProfileForm.jsx +++ b/web/src/pages/ProfileEdit/ExtendedProfileForm.jsx @@ -8,6 +8,7 @@ import { faChevronLeft } from '@fortawesome/free-solid-svg-icons/faChevronLeft'; import { faChevronRight } from '@fortawesome/free-solid-svg-icons/faChevronRight'; import { faPlus } from '@fortawesome/free-solid-svg-icons/faPlus'; import { faTrashCan } from '@fortawesome/free-solid-svg-icons/faTrashCan'; +import { ProfileMainInformation } from './ProfileMainInformation.jsx'; import { getProfilePhases, removePhaseAt, updatePhaseAt } from './profilePhases.js'; export function ExtendedProfileForm(props) { @@ -70,57 +71,13 @@ export function ExtendedProfileForm(props) { }} >
- -
- - onFieldChange('label', e.target.value)} - aria-label='Enter a name for this profile' - required - /> -
-
- - onFieldChange('description', e.target.value)} - aria-label='Optional description for this profile' - /> -
-
- -
- -
-
-
+ onFieldChange('label', e.target.value)} + onChangeDescription={e => onFieldChange('description', e.target.value)} + onChangeTemperature={e => onFieldChange('temperature', e.target.value)} + onChangeUtility={e => onFieldChange('utility', !!e.target.checked)} + /> +
+ + +
+
+ +