diff --git a/web/modals/chat/message-reactions-list-item.react.js b/web/modals/chat/message-reactions-list-item.react.js --- a/web/modals/chat/message-reactions-list-item.react.js +++ b/web/modals/chat/message-reactions-list-item.react.js @@ -6,6 +6,7 @@ import css from './message-reactions-modal.css'; import UserAvatar from '../../avatars/user-avatar.react.js'; +import { usePushUserProfileModal } from '../user-profile/user-profile-utils.js'; type Props = { +messageReactionUser: MessageReactionListInfo, @@ -14,9 +15,11 @@ function MessageReactionsListItem(props: Props): React.Node { const { messageReactionUser } = props; + const pushUserProfileModal = usePushUserProfileModal(messageReactionUser.id); + const messageReactionsListItem = React.useMemo( () => ( -