diff --git a/src/App.tsx b/src/App.tsx
index 4d6bf8e2e07d01a0faeee8d95246caecfb447716..facca47bdc9ca174ecee01b589b483096b197f1c 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -15,7 +15,12 @@ import { NotFound } from 'components/NotFound/NotFound';
 import { Unauthorized } from 'components/Unauthorized/Unauthorized';
 import { LandingPage } from 'components/LandingPage/LandingPage';
 
-const Personal = withAuthorization(Dashboard);
+const All = withAuthorization([
+  Roles.admin,
+  Roles.operator,
+  Roles.senior,
+  Roles.driver,
+]);
 
 /**
  * Entry point of the app.
@@ -35,19 +40,7 @@ export const App: FC = () => {
             <Switch>
               <Route exact path={NonAuthRoutes.home} component={LandingPage} />
               <Route path={NonAuthRoutes.auth} component={AuthUser} />
-              <Route
-                path={AuthRoutes.dashboard}
-                render={() => (
-                  <Personal
-                    allowedRoles={[
-                      Roles.admin,
-                      Roles.operator,
-                      Roles.senior,
-                      Roles.driver,
-                    ]}
-                  />
-                )}
-              />
+              <Route path={AuthRoutes.dashboard} component={All(Dashboard)} />
               <Route
                 path={NonAuthRoutes.unauthorized}
                 component={Unauthorized}