diff --git a/client/src/pages/year-end-gift.js b/client/src/pages/year-end-gift.js index a218b9f4bb..05f4477410 100644 --- a/client/src/pages/year-end-gift.js +++ b/client/src/pages/year-end-gift.js @@ -13,7 +13,7 @@ function YearEndGiftPage() {
- + diff --git a/client/utils/gatsby/layoutSelector.js b/client/utils/gatsby/layoutSelector.js index 91b98f3814..4b1dfe2b03 100644 --- a/client/utils/gatsby/layoutSelector.js +++ b/client/utils/gatsby/layoutSelector.js @@ -29,7 +29,11 @@ export default function layoutSelector({ element, props }) { ); } - if (/^\/donation(\/.*)*|^\/donate(\/.*)*/.test(pathname)) { + if ( + /^\/donation(\/.*)*|^\/donate(\/.*)*/.test(pathname) || + /^\/year-end-gift-successful(\/.*)*/.test(pathname) || + /^\/year-end-gift(\/.*)*/.test(pathname) + ) { return ( {element}