diff --git a/packages/frontend/src/components/shared/UserSelect/UserSelectItem/UserSelectItem.tsx b/packages/frontend/src/components/shared/UserSelect/UserSelectItem/UserSelectItem.tsx index 861ca13f..4885d6c2 100644 --- a/packages/frontend/src/components/shared/UserSelect/UserSelectItem/UserSelectItem.tsx +++ b/packages/frontend/src/components/shared/UserSelect/UserSelectItem/UserSelectItem.tsx @@ -1,4 +1,4 @@ -import React, { forwardRef, ComponentPropsWithoutRef, useMemo } from 'react'; +import React, { forwardRef, ComponentPropsWithoutRef } from 'react'; import { Overwrite, UseComboboxGetItemPropsReturnValue } from 'downshift'; import { userSelectItemTheme, @@ -34,11 +34,6 @@ const UserSelectItem = forwardRef( const { value, label, imgSrc = './logo.svg' } = option; - const renderLeftImage = useMemo( - () => {`${value}-logo`}, - [imgSrc, value], - ); - return (
  • ( className={theme.wrapper({ className, active: selected || hovered })} >
    - {renderLeftImage} + {`${value}-logo`}

    {label}

    {selected && }