diff --git a/packages/pl-fe/src/features/status/components/detailed-status.tsx b/packages/pl-fe/src/features/status/components/detailed-status.tsx index a70dd0a51..f2cb80d94 100644 --- a/packages/pl-fe/src/features/status/components/detailed-status.tsx +++ b/packages/pl-fe/src/features/status/components/detailed-status.tsx @@ -1,5 +1,5 @@ import React, { useRef } from 'react'; -import { FormattedDate, FormattedMessage, useIntl } from 'react-intl'; +import { defineMessages, FormattedDate, FormattedMessage, useIntl } from 'react-intl'; import { Link } from 'react-router-dom'; import Account from 'pl-fe/components/account'; @@ -22,6 +22,10 @@ import StatusTypeIcon from './status-type-icon'; import type { SelectedStatus } from 'pl-fe/selectors'; +const messages = defineMessages({ + applicationName: { id: 'status.application_name', defaultMessage: 'Sent form {name}' }, +}); + interface IDetailedStatus { status: SelectedStatus; withMedia?: boolean; @@ -152,8 +156,14 @@ const DetailedStatus: React.FC = ({ {actualStatus.application && ( <> {' ยท '} - - ({actualStatus.application.name}) + + {actualStatus.application.name} )}