Skip to content

Commit

Permalink
Update src/pages/ShareCodePage.js
Browse files Browse the repository at this point in the history
Co-authored-by: Robert Chen <robert@expensify.com>
  • Loading branch information
chrispader and robertjchen committed May 12, 2023
1 parent 4569da0 commit 01e8334
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/ShareCodePage.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class ShareCodePage extends React.Component {
render() {
const isReport = this.props.report != null && this.props.report.reportID != null;

const url = isReport ? `https://new.expensify.com/r/${this.props.report.reportID}` : `https://new.expensify.com/details?login=${this.props.session.email}`;
const url = isReport ? `${CONST.NEW_EXPENSIFY_URL}r/${this.props.report.reportID}` : `${CONST.NEW_EXPENSIFY_URL}details?login=${this.props.session.email}`;

const platform = getPlatform();
const isNative = platform === CONST.PLATFORM.IOS || platform === CONST.PLATFORM.ANDROID;
Expand Down

0 comments on commit 01e8334

Please sign in to comment.