From 6509ae70299b98697c25a940154653f5fff8b204 Mon Sep 17 00:00:00 2001 From: Sarah Thompson Date: Wed, 1 May 2019 13:50:41 -0300 Subject: [PATCH] removed header + footer from the all-benefits fallback page --- components/layout.js | 32 ++++++++++++++++++-------------- 1 file changed, 18 insertions(+), 14 deletions(-) diff --git a/components/layout.js b/components/layout.js index bb9704346..1d5215e9b 100644 --- a/components/layout.js +++ b/components/layout.js @@ -82,13 +82,15 @@ class Layout extends Component { -
- {t("current-language-code") === "en" ? ( - - ) : ( - - )} -
+ {!this.props.parentIsFallbackPage ? ( +
+ {t("current-language-code") === "en" ? ( + + ) : ( + + )} +
+ ) : null}
{this.props.children}
{!this.props.parentIsFallbackPage ? ( @@ -98,13 +100,15 @@ class Layout extends Component { ) : null} - + {!this.props.parentIsFallbackPage ? ( + + ) : null}
{noScriptTag}