Web: Client: Fixed ConfirmRoute wrapper

This commit is contained in:
Ilya Oleshko 2020-08-11 15:41:45 +03:00
parent 211b20499f
commit 7bd5ff0b4f

View File

@ -78,16 +78,16 @@ class ConfirmRoute extends React.Component {
{...rest}
render={props =>
!this.state.isLoaded ? (
<PageLayout
sectionBodyContent={
<Loader className="pageLoader" type="rombs" size='40px' />
}
/>
<PageLayout>
<PageLayout.SectionBody>
<Loader className="pageLoader" type="rombs" size="40px" />
</PageLayout.SectionBody>
</PageLayout>
) : (
<Component
{...(props = { ...props, linkData: this.state.linkData })}
/>
)
<Component
{...(props = { ...props, linkData: this.state.linkData })}
/>
)
}
/>
);