Skip to content

Commit

Permalink
Merge pull request #29106 from Expensify/revert-27420-fix/26657
Browse files Browse the repository at this point in the history
[CP Staging] Revert "fix: 26657 Another error message for a short time when opening archived chat from search bar"
  • Loading branch information
chiragsalian authored Oct 9, 2023
2 parents d4b0a24 + a9b6317 commit f714d74
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 52 deletions.
4 changes: 0 additions & 4 deletions src/components/ArchivedReportFooter.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import reportPropTypes from '../pages/reportPropTypes';
import * as ReportActionsUtils from '../libs/ReportActionsUtils';
import styles from '../styles/styles';
import * as PersonalDetailsUtils from '../libs/PersonalDetailsUtils';
import ArchivedReportFooterSkeletonView from './ArchivedReportFooterSkeletonView';

const propTypes = {
/** The reason this report was archived */
Expand Down Expand Up @@ -51,9 +50,6 @@ const defaultProps = {
};

function ArchivedReportFooter(props) {
if (!props.reportClosedAction.reportActionID) {
return <ArchivedReportFooterSkeletonView />;
}
const archiveReason = lodashGet(props.reportClosedAction, 'originalMessage.reason', CONST.REPORT.ARCHIVE_REASON.DEFAULT);
let displayName = PersonalDetailsUtils.getDisplayNameOrDefault(props.personalDetails, [props.report.ownerAccountID, 'displayName']);

Expand Down
48 changes: 0 additions & 48 deletions src/components/ArchivedReportFooterSkeletonView.js

This file was deleted.

0 comments on commit f714d74

Please sign in to comment.