@@ -32,11 +32,8 @@ export default async function Home({ params }: Props) {
3232 setRequestLocale ( locale ) ;
3333
3434 const t = await getTranslations ( 'Home' ) ;
35- const tProductCard = await getTranslations ( 'Components.ProductCard' ) ;
3635 const format = await getFormatter ( ) ;
3736
38- const moreOffersLabel = ( count : number ) => tProductCard ( 'moreOffers' , { count } ) ;
39-
4037 const streamablePageData = Streamable . from ( async ( ) => {
4138 const customerAccessToken = await getSessionCustomerAccessToken ( ) ;
4239 const currencyCode = await getPreferredCurrencyCode ( ) ;
@@ -97,7 +94,6 @@ export default async function Home({ params }: Props) {
9794 description = { t ( 'FeaturedProducts.description' ) }
9895 emptyStateSubtitle = { t ( 'FeaturedProducts.emptyStateSubtitle' ) }
9996 emptyStateTitle = { t ( 'FeaturedProducts.emptyStateTitle' ) }
100- moreOffersLabel = { moreOffersLabel }
10197 products = { streamableFeaturedProducts }
10298 title = { t ( 'FeaturedProducts.title' ) }
10399 />
@@ -107,7 +103,6 @@ export default async function Home({ params }: Props) {
107103 description = { t ( 'NewestProducts.description' ) }
108104 emptyStateSubtitle = { t ( 'NewestProducts.emptyStateSubtitle' ) }
109105 emptyStateTitle = { t ( 'NewestProducts.emptyStateTitle' ) }
110- moreOffersLabel = { moreOffersLabel }
111106 nextLabel = { t ( 'NewestProducts.nextProducts' ) }
112107 previousLabel = { t ( 'NewestProducts.previousProducts' ) }
113108 products = { streamableNewestProducts }
0 commit comments