Skip to content

Commit

Permalink
Remove @types/reactstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
jsonBackup committed Feb 14, 2024
1 parent e8861e4 commit b50487f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 14 deletions.
1 change: 0 additions & 1 deletion src/Moryx.CommandCenter.Web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"@types/react": "^18.2.55",
"@types/react-dom": "^18.2.19",
"@types/react-redux": "^7.1.33",
"@types/reactstrap": "^7.1.6",
"@types/uuid": "^9.0.8",
"bootstrap": "5.3.2",
"bootstrap5-toggle": "^5.0.6",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import { Location, UnregisterCallback } from "history";
import * as React from "react";
import { Link, RouteComponentProps, withRouter } from "react-router-dom";
import ListGroupItem from "reactstrap/lib/ListGroupItem";
import { ListGroupItem } from "reactstrap";
import MenuItemModel from "../../models/MenuItemModel";

interface MenuItemProps {
Expand All @@ -23,7 +23,7 @@ class RoutingMenuItem extends React.Component<RouteComponentProps<{}> & MenuItem
private unregisterListenerCallback: UnregisterCallback;

constructor(props: RouteComponentProps<{}> & MenuItemProps) {
super (props);
super(props);
this.state = { IsOpened: this.isOpened(this.props.location) };

this.unregisterListenerCallback = this.props.history.listen(this.onRouteChanged.bind(this));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,7 @@ import Icon from "@mdi/react";
import * as React from "react";
import { connect } from "react-redux";
import { Link, Route, RouteComponentProps, Switch } from "react-router-dom";
import { Card, CardBody, CardHeader, Col, Row } from "reactstrap";
import ListGroup from "reactstrap/lib/ListGroup";
import Nav from "reactstrap/lib/Nav";
import Navbar from "reactstrap/lib/Navbar";
import NavItem from "reactstrap/lib/NavItem";
import { Card, CardBody, CardHeader, Col, ListGroup, Nav, Navbar, NavItem, Row } from "reactstrap";
import RoutingMenu from "../../common/components/Menu/RoutingMenu";
import MenuItemModel from "../../common/models/MenuItemModel";
import MenuModel from "../../common/models/MenuModel";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ import Icon from "@mdi/react";
import * as React from "react";
import { RouteComponentProps, withRouter } from "react-router-dom";
import { toast, ToastContainer } from "react-toastify";
import { Button, ButtonGroup, Card, CardBody, CardHeader, Col, Container, ListGroup, Row } from "reactstrap";
import ListGroupItem from "reactstrap/lib/ListGroupItem";
import { Button, ButtonGroup, Card, CardBody, CardHeader, Col, Container, ListGroup, ListGroupItem, Row } from "reactstrap";
import ModuleHeader from "../../common/components/ModuleHeader";
import ModulesRestClient from "../api/ModulesRestClient";
import NavigableConfigEditor from "../components/ConfigEditor/NavigableConfigEditor";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@ import Icon from "@mdi/react";
import * as React from "react";
import { connect } from "react-redux";
import { Link, Route, Switch } from "react-router-dom";
import { Card, CardBody, CardHeader, Col, ListGroup, NavLink, Row } from "reactstrap";
import Nav from "reactstrap/lib/Nav";
import Navbar from "reactstrap/lib/Navbar";
import NavItem from "reactstrap/lib/NavItem";
import { Card, CardBody, CardHeader, Col, ListGroup, Nav, Navbar, NavItem, NavLink, Row } from "reactstrap";
import RoutingMenu from "../../common/components/Menu/RoutingMenu";
import MenuItemModel from "../../common/models/MenuItemModel";
import MenuModel from "../../common/models/MenuModel";
Expand Down

0 comments on commit b50487f

Please sign in to comment.