fix: remove all year-end gift implementation (#38030)

This commit is contained in:
mrugesh
2020-01-09 02:37:50 +05:30
committed by GitHub
parent 86127a24f7
commit 059e826465
9 changed files with 24 additions and 488 deletions

View File

@ -29,11 +29,7 @@ export default function layoutSelector({ element, props }) {
</DefaultLayout>
);
}
if (
/^\/donation(\/.*)*|^\/donate(\/.*)*/.test(pathname) ||
/^\/year-end-gift-successful(\/.*)*/.test(pathname) ||
/^\/year-end-gift(\/.*)*/.test(pathname)
) {
if (/^\/donation(\/.*)*|^\/donate(\/.*)*/.test(pathname)) {
return (
<DefaultLayout pathname={pathname} useTheme={false}>
{element}