mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-09 06:55:47 +01:00
removed unused imports
This commit is contained in:
committed by
René Pfeuffer
parent
f2c9529c2f
commit
ac9f7914ae
@@ -23,7 +23,7 @@
|
||||
*/
|
||||
import * as React from "react";
|
||||
import classNames from "classnames";
|
||||
import { Link, useRouteMatch } from "react-router-dom";
|
||||
import { Link } from "react-router-dom";
|
||||
import { RoutingProps } from "./RoutingProps";
|
||||
import { FC } from "react";
|
||||
import useMenuContext from "./MenuContext";
|
||||
|
||||
@@ -21,10 +21,10 @@
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
* SOFTWARE.
|
||||
*/
|
||||
import React, { FC, useContext } from "react";
|
||||
import { Link, useRouteMatch, useLocation } from "react-router-dom";
|
||||
import React, { FC } from "react";
|
||||
import { Link } from "react-router-dom";
|
||||
import classNames from "classnames";
|
||||
import useMenuContext, { MenuContext } from "./MenuContext";
|
||||
import useMenuContext from "./MenuContext";
|
||||
import { RoutingProps } from "./RoutingProps";
|
||||
import useActiveMatch from "./useActiveMatch";
|
||||
|
||||
@@ -46,7 +46,7 @@ const SubNavigation: FC<Props> = ({ to, activeOnlyWhenExact, activeWhenMatch, ic
|
||||
to: parent,
|
||||
activeOnlyWhenExact,
|
||||
activeWhenMatch
|
||||
})
|
||||
});
|
||||
|
||||
let defaultIcon = "fas fa-cog";
|
||||
if (icon) {
|
||||
|
||||
Reference in New Issue
Block a user