From f2a961f5711f8b12251de0c3fd3b7b04f24342ac Mon Sep 17 00:00:00 2001 From: Monil Bhavsar Date: Mon, 24 Jul 2023 16:04:41 +0530 Subject: [PATCH] Initialize with empty string --- src/pages/signin/SignInPage.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/signin/SignInPage.js b/src/pages/signin/SignInPage.js index 7fa1d27b3099..59841516650e 100644 --- a/src/pages/signin/SignInPage.js +++ b/src/pages/signin/SignInPage.js @@ -98,8 +98,8 @@ function SignInPage({credentials, account}) { }, ); - let welcomeHeader; - let welcomeText; + let welcomeHeader = ''; + let welcomeText = ''; if (shouldShowLoginForm) { welcomeHeader = isSmallScreenWidth ? translate('login.hero.header') : translate('welcomeText.getStarted'); welcomeText = isSmallScreenWidth ? translate('welcomeText.getStarted') : '';