Web: Common: PageLayout: Fixed PrivateRoute container

This commit is contained in:
Ilya Oleshko 2020-08-11 15:37:34 +03:00
parent 89bfd913e6
commit 47889d384f

View File

@ -36,11 +36,11 @@ const PrivateRoute = ({ component: Component, ...rest }) => {
if (!isLoaded) {
return (
<PageLayout
sectionBodyContent={
<PageLayout>
<PageLayout.SectionBody>
<Loader className="pageLoader" type="rombs" size='40px' />
}
/>
</PageLayout.SectionBody>
</PageLayout>
);
}