diff --git a/src/head/Head.jsx b/src/head/Head.jsx index a3158c990..d846744b3 100644 --- a/src/head/Head.jsx +++ b/src/head/Head.jsx @@ -8,7 +8,7 @@ import messages from './messages'; const Head = ({ intl }) => ( - {intl.formatMessage(messages['pageTitle'], { siteName: getConfig().SITE_NAME })} + {intl.formatMessage(messages.pageTitle, { siteName: getConfig().SITE_NAME })} diff --git a/src/head/messages.js b/src/head/messages.js index 0aa5722c4..8369ce88a 100644 --- a/src/head/messages.js +++ b/src/head/messages.js @@ -1,11 +1,10 @@ import { defineMessages } from '@edx/frontend-platform/i18n'; const messages = defineMessages({ - 'pageTitle': { + pageTitle: { id: 'pageTitle', defaultMessage: 'Support Tools | {siteName}', description: 'Title tag', }, }); - export default messages;