From 368f4ad0005d52efd6526f179c821e6ba9a5f24c Mon Sep 17 00:00:00 2001 From: Vikas Agarwal Date: Thu, 16 Aug 2018 16:42:32 +0530 Subject: [PATCH 1/2] fixing maintenance comparison --- src/components/Layout/Layout.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Layout/Layout.jsx b/src/components/Layout/Layout.jsx index 2ddc41b17..1ce12925e 100644 --- a/src/components/Layout/Layout.jsx +++ b/src/components/Layout/Layout.jsx @@ -17,7 +17,7 @@ const Layout = (props) => { if (isLoadingUser) { return (
) - } else if (MAINTENANCE_MODE === true || maintenanceMode) { + } else if (MAINTENANCE_MODE === "true" || maintenanceMode) { return } else { return ( From 5ba08ad79d22b806740b562e93995a52ae6b1f4e Mon Sep 17 00:00:00 2001 From: Vikas Agarwal Date: Thu, 16 Aug 2018 16:59:42 +0530 Subject: [PATCH 2/2] lint fix --- src/components/Layout/Layout.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Layout/Layout.jsx b/src/components/Layout/Layout.jsx index 1ce12925e..b1cb80177 100644 --- a/src/components/Layout/Layout.jsx +++ b/src/components/Layout/Layout.jsx @@ -17,7 +17,7 @@ const Layout = (props) => { if (isLoadingUser) { return (
) - } else if (MAINTENANCE_MODE === "true" || maintenanceMode) { + } else if (MAINTENANCE_MODE === 'true' || maintenanceMode) { return } else { return (