diff --git a/frontend/src/components/AdminProjectSidebar/index.tsx b/frontend/src/components/AdminProjectSidebar/index.tsx index d6bf1b1..6d36739 100644 --- a/frontend/src/components/AdminProjectSidebar/index.tsx +++ b/frontend/src/components/AdminProjectSidebar/index.tsx @@ -65,7 +65,7 @@ export default function AdminProjectSidebar(): JSX.Element { diff --git a/frontend/src/components/Header/UserProfileForm.tsx b/frontend/src/components/Header/UserProfileForm.tsx index 584290b..b4e7214 100644 --- a/frontend/src/components/Header/UserProfileForm.tsx +++ b/frontend/src/components/Header/UserProfileForm.tsx @@ -35,7 +35,7 @@ export default function UserProfileForm({ onClose }: { onClose: () => void }) { {categories.length > 0 && ( - +
+
+ {categories.map((category: string, index: number) => ( +
+ {category} + { + const newCategories = categories.filter((_, i) => i !== index); + field.onChange(newCategories); + setCategories(newCategories); + }} + /> +
+ ))} +
+
)} - + )} /> + + diff --git a/frontend/src/pages/WorkspaceReviewList.tsx b/frontend/src/pages/WorkspaceReviewList.tsx index 3f7a073..a1efbe5 100644 --- a/frontend/src/pages/WorkspaceReviewList.tsx +++ b/frontend/src/pages/WorkspaceReviewList.tsx @@ -65,7 +65,7 @@ export default function WorkspaceReviewList() { to={`/admin/${workspaceId}/reviews/request`} className="ml-auto" > - +