Web: Client: remove route from accessRights page

This commit is contained in:
Nikita Gopienko 2019-11-25 14:32:08 +03:00
parent 69a2818741
commit 93d88ccffb

View File

@ -1,5 +1,4 @@
import React, { Component } from "react";
import { Route } from "react-router-dom";
import { connect } from "react-redux";
import { withRouter } from "react-router";
import i18n from "../../i18n";
@ -90,17 +89,17 @@ class PureAccessRights extends Component {
{
key: "0",
title: "Owner settings",
content: <Route component={OwnerSettings} />
content: <OwnerSettings />
},
{
key: "1",
title: "Admins settings",
content: <Route component={AdminsSettings} />
content: <AdminsSettings />
},
{
key: "2",
title: "Portals settings",
content: <Route component={ModulesSettings} />
content: <ModulesSettings />
}
]}
</TabContainer>