diff --git a/src/pages/home/report/ReactionList/BaseReactionList.js b/src/pages/home/report/ReactionList/BaseReactionList.js
index 50cd4c0fa63a..d42a2284f22f 100755
--- a/src/pages/home/report/ReactionList/BaseReactionList.js
+++ b/src/pages/home/report/ReactionList/BaseReactionList.js
@@ -12,6 +12,8 @@ import reactionPropTypes from './reactionPropTypes';
import OptionRow from '../../../../components/OptionRow';
import variables from '../../../../styles/variables';
import withWindowDimensions from '../../../../components/withWindowDimensions';
+import Navigation from '../../../../libs/Navigation/Navigation';
+import ROUTES from '../../../../ROUTES';
const propTypes = {
/**
@@ -31,37 +33,6 @@ const defaultProps = {
hasUserReacted: false,
};
-/**
- * Given an emoji item object, render a component based on its type.
- * Items with the code "SPACER" return nothing and are used to fill rows up to 8
- * so that the sticky headers function properly
- *
- * @param {Object} params
- * @param {Object} params.item
- * @return {React.Component}
- */
-const renderItem = ({item}) => (
-
-);
-
/**
* Create a unique key for each action in the FlatList.
* @param {Object} item
@@ -90,6 +61,42 @@ const BaseReactionList = (props) => {
if (!props.isVisible) {
return null;
}
+
+ /**
+ * Given an emoji item object, render a component based on its type.
+ * Items with the code "SPACER" return nothing and are used to fill rows up to 8
+ * so that the sticky headers function properly
+ *
+ * @param {Object} params
+ * @param {Object} params.item
+ * @return {React.Component}
+ */
+ const renderItem = ({item}) => (
+ {
+ props.onClose();
+ Navigation.navigate(ROUTES.getDetailsRoute(item.login));
+ }}
+ option={{
+ text: Str.removeSMSDomain(item.displayName),
+ alternateText: Str.removeSMSDomain(item.login),
+ participantsList: [item],
+ icons: [
+ {
+ source: ReportUtils.getAvatar(item.avatar, item.login),
+ name: item.login,
+ type: CONST.ICON_TYPE_AVATAR,
+ },
+ ],
+ keyForList: item.login,
+ }}
+ />
+ );
+
return (
<>