Skip to content

Commit

Permalink
Fix wrong booking title on listing page
Browse files Browse the repository at this point in the history
  • Loading branch information
lyyder committed Dec 27, 2018
1 parent 4f489ea commit b1db0e4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/containers/ListingPage/ListingPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -229,10 +229,7 @@ export class ListingPageComponent extends Component {
</span>
);

const bookingTitle = intl.formatMessage(
{ id: 'ListingPage.bookingSubTitle' },
{ title: richTitle }
);
const bookingTitle = <FormattedMessage id="ListingPage.bookingTitle" values={{ title: richTitle }} />
const bookingSubTitle = intl.formatMessage({ id: 'ListingPage.bookingSubTitle' });

const topbar = <TopbarContainer />;
Expand Down

0 comments on commit b1db0e4

Please sign in to comment.