fix(client): Remove redundant prop and allow navigationMenu to be und… (#36134)
This commit is contained in:
committed by
Valeriy
parent
17e112d25e
commit
1e1cbdfe06
@ -31,11 +31,7 @@ export const wrapPageElement = ({ element, props }) => {
|
||||
location: { pathname }
|
||||
} = props;
|
||||
if (pathname === '/') {
|
||||
return (
|
||||
<DefaultLayout disableSettings={true} landingPage={true}>
|
||||
{element}
|
||||
</DefaultLayout>
|
||||
);
|
||||
return <DefaultLayout landingPage={true}>{element}</DefaultLayout>;
|
||||
}
|
||||
if (/^\/certification(\/.*)*/.test(pathname)) {
|
||||
return <CertificationLayout>{element}</CertificationLayout>;
|
||||
|
Reference in New Issue
Block a user