Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
levil664 committed Jul 17, 2024
1 parent df831a5 commit 2749dd8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export function ProfileEdit() {
required={true}
label={
<span>
<span className={styles.requiredMark}>*</span> Ф.И.О.
<span className={styles.requiredMark}>*</span> Ф.И.О.
</span>
}
name={USER_NAME}
Expand All @@ -78,7 +78,7 @@ export function ProfileEdit() {
required={true}
label={
<span>
<span className={styles.requiredMark}>*</span> Email сотрудника
<span className={styles.requiredMark}>*</span> Email сотрудника
</span>
}
name={USER_EMAIL}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,7 @@ export function ProfileInfo() {
) : (
results.data?.results.map((employee) => (
<div key={employee.id} className={styles.organizationContainer}>
<Field
fieldName={'Организация:'}
fieldValue={employee.organization__name}
type={'right'}
/>
<Field fieldName={'Организация:'} fieldValue={employee.organization__name} type={'right'} />
<Field
fieldName={'Должность:'}
fieldValue={employee.position}
Expand All @@ -55,7 +51,12 @@ export function ProfileInfo() {
))
)}

<Button className={styles.editButton} type='schoolDefaultAuto' block onClick={() => router.push(RoutePath[AppRoutes.USER_EDIT])}>
<Button
className={styles.editButton}
type='schoolDefaultAuto'
block
onClick={() => router.push(RoutePath[AppRoutes.USER_EDIT])}
>
Редактировать профиль
</Button>
</Col>
Expand Down

0 comments on commit 2749dd8

Please sign in to comment.