From 691b8ad8fbe44e465f9645e5d6fa0d08289b8a03 Mon Sep 17 00:00:00 2001 From: ebarrios Date: Fri, 28 Aug 2020 10:56:05 +0200 Subject: [PATCH] Reverted change applied to master by mistake --- plugins/catalog/src/components/CatalogPage/CatalogLayout.tsx | 1 + plugins/catalog/src/components/CatalogPage/utils/timeUtil.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/catalog/src/components/CatalogPage/CatalogLayout.tsx b/plugins/catalog/src/components/CatalogPage/CatalogLayout.tsx index dfa4f2d39d..39b3c66013 100644 --- a/plugins/catalog/src/components/CatalogPage/CatalogLayout.tsx +++ b/plugins/catalog/src/components/CatalogPage/CatalogLayout.tsx @@ -38,6 +38,7 @@ const CatalogLayout = ({ children }: Props) => {
diff --git a/plugins/catalog/src/components/CatalogPage/utils/timeUtil.js b/plugins/catalog/src/components/CatalogPage/utils/timeUtil.js index c32bebc4f8..327f4177a8 100644 --- a/plugins/catalog/src/components/CatalogPage/utils/timeUtil.js +++ b/plugins/catalog/src/components/CatalogPage/utils/timeUtil.js @@ -67,6 +67,6 @@ export function getTimeBasedGreeting() { const greetingsKey = random(Object.keys(greetings)); return { language: greetingsKey, - greeting: greetings.English, + greeting: greetings[greetingsKey], }; }