Skip to content

Commit

Permalink
Login is a const here
Browse files Browse the repository at this point in the history
  • Loading branch information
Beamanator committed Jul 4, 2023
1 parent 3ec735c commit 50c362a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/home/report/ReportActionItemSingle.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ const showWorkspaceDetails = (reportID) => {

function ReportActionItemSingle(props) {
const actorAccountID = props.action.actorAccountID;
let {displayName, login} = props.personalDetailsList[actorAccountID] || {};
const {avatar, pendingFields} = props.personalDetailsList[actorAccountID] || {};
let {displayName} = props.personalDetailsList[actorAccountID] || {};
const {avatar, login, pendingFields} = props.personalDetailsList[actorAccountID] || {};
let actorHint = (login || displayName).replace(CONST.REGEX.MERGED_ACCOUNT_PREFIX, '');
const isWorkspaceActor = ReportUtils.isPolicyExpenseChat(props.report) && !actorAccountID;
let avatarSource = UserUtils.getAvatar(avatar, actorAccountID);
Expand Down

0 comments on commit 50c362a

Please sign in to comment.