diff --git a/src/components/MentorRegistrationPage/index.tsx b/src/components/MentorRegistrationPage/index.tsx index dde7d875..c61995df 100644 --- a/src/components/MentorRegistrationPage/index.tsx +++ b/src/components/MentorRegistrationPage/index.tsx @@ -81,7 +81,7 @@ const MentorRegistrationPage: React.FC = () => { const categories = response.data.categories; setFormData((prevData) => ({ ...prevData, - categoryId: categories[0].id, + categoryId: categories[0].uuid, })); setCategories(categories); }) @@ -208,8 +208,8 @@ const MentorRegistrationPage: React.FC = () => { onChange={handleInputChange} > {categories.map( - (category: { id: string; category: string }) => ( - )