removed unused imports

This commit is contained in:
Sebastian Sdorra
2020-06-17 15:37:01 +02:00
committed by René Pfeuffer
parent f2c9529c2f
commit ac9f7914ae
2 changed files with 5 additions and 5 deletions

View File

@@ -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";

View File

@@ -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) {