diff --git a/src/components/Profile/ProfileDetail.tsx b/src/components/Profile/ProfileDetail.tsx index ed11d9cd..31cf4547 100644 --- a/src/components/Profile/ProfileDetail.tsx +++ b/src/components/Profile/ProfileDetail.tsx @@ -36,11 +36,9 @@ export const ProfileDetail: FC = () => { return ( - {/* TODO: pockat na BE kym to posle v datach */} - + - {/* TODO: pockat na BE kym to posle v datach */} - + diff --git a/src/types/api/personal.ts b/src/types/api/personal.ts index 58530dbf..795fb75e 100644 --- a/src/types/api/personal.ts +++ b/src/types/api/personal.ts @@ -62,12 +62,14 @@ export interface SchoolProfile { export interface Profile { first_name: string last_name: string + email: string nickname: string | null school: SchoolProfile phone: string | null parent_phone: string | null gdpr: boolean grade: number + grade_name: string is_student: boolean has_school: boolean school_id: number