diff --git a/src/client/components/CompanyLocalHeader/index.jsx b/src/client/components/CompanyLocalHeader/index.jsx
index 4e5f480167e..1b19a231cc6 100644
--- a/src/client/components/CompanyLocalHeader/index.jsx
+++ b/src/client/components/CompanyLocalHeader/index.jsx
@@ -119,27 +119,9 @@ const hasAllocatedLeadIta = (company) =>
const hasManagedAccountDetails = (company) =>
company.oneListGroupTier && hasAllocatedLeadIta(company)
-const DATA_HUB_HAS_MOVED_LINK =
- 'https://data-services-help.trade.gov.uk/data-hub/updates/announcements/export-wins-has-moved-to-data-hub/'
-
-const DATA_HUB_HAS_MOVED_MESSAGE = (
- <>
- Historic export wins have now moved to Data Hub,{' '}
-
- find out more
-
- .
- >
-)
-
const CompanyLocalHeader = ({
breadcrumbs,
- flashMessages = [],
+ flashMessages,
company,
csrfToken,
}) =>
@@ -151,7 +133,7 @@ const CompanyLocalHeader = ({
company.id,
company.name
)}
- flashMessages={[[DATA_HUB_HAS_MOVED_MESSAGE, ...flashMessages]]}
+ flashMessages={flashMessages}
>
@@ -163,6 +145,7 @@ const CompanyLocalHeader = ({
Trading as: {company.tradingNames.join(', ')}
)}
+
{addressToStringResource(company.address)}
diff --git a/test/component/cypress/specs/Companies/CompanyLocalHeader.cy.jsx b/test/component/cypress/specs/Companies/CompanyLocalHeader.cy.jsx
index cf7fad0a8ba..2e374b561e7 100644
--- a/test/component/cypress/specs/Companies/CompanyLocalHeader.cy.jsx
+++ b/test/component/cypress/specs/Companies/CompanyLocalHeader.cy.jsx
@@ -179,6 +179,7 @@ describe('CompanyLocalHeader', () => {
cy.mountWithProvider(
{
cy.mountWithProvider(
{
cy.mountWithProvider(
{
- it('There should be a banner informing about export wins moving to Data Hub on the company page', () => {
- cy.visit(urls.companies.detail(company.dnbCorp.id))
-
- cy.get('[data-test="status-message"')
- .should(
- 'have.text',
- 'Historic export wins have now moved to Data Hub, find out more.'
- )
- .within(() => {
- cy.contains('a', 'find out more').should(
- 'have.attr',
- 'href',
- 'https://data-services-help.trade.gov.uk/data-hub/updates/announcements/export-wins-has-moved-to-data-hub/'
- )
- })
- })
-})