diff --git a/src/components/Popups/ReplyField/ItemList.tsx b/src/components/Popups/ReplyField/ItemList.tsx index 3dd104d0d..0893186f9 100644 --- a/src/components/Popups/ReplyField/ItemList.tsx +++ b/src/components/Popups/ReplyField/ItemList.tsx @@ -1,13 +1,13 @@ import React, { SyntheticEvent } from 'react'; import noop from 'lodash/noop'; +import uniqueId from 'lodash/uniqueId'; import ItemRow from './ItemRow'; -import { Collaborator } from '../../../@types'; import './ItemList.scss'; export type Props = { activeItemIndex?: number; itemRowAs?: JSX.Element; - items: Collaborator[]; + items: Record[]; onSelect: (index: number, event: React.SyntheticEvent) => void; setActiveItemIndex?: (index: number) => void; }; @@ -21,11 +21,11 @@ const ItemList = ({ ...rest }: Props): JSX.Element => { return ( -