diff --git a/packages/frontend/src/components/projects/ProjectSearchBar/ProjectSearchBarItem.tsx b/packages/frontend/src/components/projects/ProjectSearchBar/ProjectSearchBarItem.tsx index 5afd8a84..f97419ff 100644 --- a/packages/frontend/src/components/projects/ProjectSearchBar/ProjectSearchBarItem.tsx +++ b/packages/frontend/src/components/projects/ProjectSearchBar/ProjectSearchBarItem.tsx @@ -11,7 +11,7 @@ import { getInitials } from 'utils/geInitials'; * @type {MergedComponentPropsWithoutRef} */ type MergedComponentPropsWithoutRef = OmitCommon< - ComponentPropsWithoutRef<'div'>, + ComponentPropsWithoutRef<'button'>, Omit< Overwrite, 'index' | 'item' @@ -24,16 +24,16 @@ interface ProjectSearchBarItemProps extends MergedComponentPropsWithoutRef { } const ProjectSearchBarItem = forwardRef< - HTMLDivElement, + HTMLButtonElement, ProjectSearchBarItemProps >(({ item, active, ...props }, ref) => { return ( -

{item.organization.name}

- + ); });