chore: adjust type

This commit is contained in:
GyDi
2022-11-19 17:22:29 +08:00
parent e19fe5ce1c
commit 6eafb15cf9
26 changed files with 274 additions and 283 deletions

View File

@@ -23,7 +23,7 @@ const Tag = styled("span")(({ theme }) => ({
}));
interface Props {
value: ApiType.ConnectionsItem;
value: IConnectionsItem;
}
const ConnectionItem = (props: Props) => {

View File

@@ -4,7 +4,7 @@ import { DataGrid, GridColDef } from "@mui/x-data-grid";
import parseTraffic from "@/utils/parse-traffic";
interface Props {
connections: ApiType.ConnectionsItem[];
connections: IConnectionsItem[];
}
const ConnectionTable = (props: Props) => {