From c5802459d5e0b800e7be488b658e14c4f429a7eb Mon Sep 17 00:00:00 2001 From: Nikita Skalkin Date: Fri, 6 Sep 2024 20:34:22 +0200 Subject: [PATCH] fix: correct title for Recently viewed home view section (#5982) --- src/schema/v2/homeView/__tests__/HomeView.test.ts | 2 +- src/schema/v2/homeView/__tests__/HomeViewSection.test.ts | 2 +- src/schema/v2/homeView/sections.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/schema/v2/homeView/__tests__/HomeView.test.ts b/src/schema/v2/homeView/__tests__/HomeView.test.ts index 751c2ec420..54bf2916e3 100644 --- a/src/schema/v2/homeView/__tests__/HomeView.test.ts +++ b/src/schema/v2/homeView/__tests__/HomeView.test.ts @@ -264,7 +264,7 @@ describe("homeView", () => { "node": Object { "__typename": "ArtworksRailHomeViewSection", "component": Object { - "title": "Recently viewed works", + "title": "Recently Viewed", }, }, }, diff --git a/src/schema/v2/homeView/__tests__/HomeViewSection.test.ts b/src/schema/v2/homeView/__tests__/HomeViewSection.test.ts index 2ce4a7aa97..80b1a36899 100644 --- a/src/schema/v2/homeView/__tests__/HomeViewSection.test.ts +++ b/src/schema/v2/homeView/__tests__/HomeViewSection.test.ts @@ -85,7 +85,7 @@ describe("HomeViewSection", () => { "href": "/recently-viewed", }, }, - "title": "Recently viewed works", + "title": "Recently Viewed", }, } `) diff --git a/src/schema/v2/homeView/sections.ts b/src/schema/v2/homeView/sections.ts index 45b49b8acb..296a016966 100644 --- a/src/schema/v2/homeView/sections.ts +++ b/src/schema/v2/homeView/sections.ts @@ -104,7 +104,7 @@ export const RecentlyViewedArtworks: HomeViewSection = { id: "home-view-section-recently-viewed-artworks", type: "ArtworksRailHomeViewSection", component: { - title: "Recently viewed works", + title: "Recently Viewed", behaviors: { viewAll: { href: "/recently-viewed",