feat: handle forbidden request error.

This commit is contained in:
a.bouhuolia
2021-11-26 16:11:42 +02:00
parent c14b35356b
commit fe9ca215ab
4 changed files with 23 additions and 12 deletions

View File

@@ -1,7 +1,6 @@
import React from 'react';
import * as R from 'ramda';
import { AuthenticatedUser } from './AuthenticatedUser';
import { DashboardBoot } from '../../components';
import withDashboard from '../../containers/Dashboard/withDashboard';
@@ -16,11 +15,10 @@ function PrivatePagesProviderComponent({
children,
}) {
return (
<AuthenticatedUser>
<React.Fragment>
<DashboardBoot />
{splashScreenCompleted ? children : null}
</AuthenticatedUser>
</React.Fragment>
);
}