fix: wire menu to redux and add change meanu breakpoint for guide

This commit is contained in:
Ahmad Abdolsaheb
2019-02-21 14:07:01 +03:00
committed by Stuart Taylor
parent 210454444d
commit b5b3482d0e
6 changed files with 115 additions and 64 deletions

View File

@ -41,7 +41,7 @@ export const wrapPageElement = ({ element, props }) => {
}
if (/^\/guide(\/.*)*/.test(pathname)) {
return (
<DefaultLayout showMobileSidenav={true}>
<DefaultLayout onGuide={true}>
<GuideLayout>{element}</GuideLayout>
</DefaultLayout>
);