Automatic code mods.

This commit is contained in:
Patrick Fic
2023-01-17 20:22:03 -08:00
parent 07e36415e4
commit 6d5b8baadf
27 changed files with 170 additions and 77 deletions

View File

@@ -1,4 +1,5 @@
import { Button, Col, PageHeader, Row, Space, Form, Switch } from "antd";
import { PageHeader } from '@ant-design/pro-layout';
import { Button, Col, Row, Space, Form, Switch } from "antd";
import React from "react";
import { useTranslation } from "react-i18next";

View File

@@ -1,13 +1,5 @@
import {
Button,
Col,
Dropdown,
Form,
PageHeader,
Row,
Space,
Typography
} from "antd";
import { PageHeader } from '@ant-design/pro-layout';
import { Button, Col, Dropdown, Form, Row, Space, Typography } from "antd";
import React from "react";
import { useTranslation } from "react-i18next";
import { connect } from "react-redux";

View File

@@ -1,4 +1,5 @@
import { Button, PageHeader } from "antd";
import { PageHeader } from '@ant-design/pro-layout';
import { Button } from "antd";
import React, { useEffect } from "react";
import { useTranslation } from "react-i18next";
import { connect } from "react-redux";

View File

@@ -1,5 +1,6 @@
import { DeleteFilled } from "@ant-design/icons";
import { useApolloClient, useMutation } from "@apollo/client";
import { PageHeader } from '@ant-design/pro-layout';
import {
Alert,
Button,
@@ -9,7 +10,6 @@ import {
Input,
InputNumber,
notification,
PageHeader,
Popconfirm,
Row,
Select,

View File

@@ -1,4 +1,5 @@
import { Button, PageHeader, Result, Space, Steps } from "antd";
import { PageHeader } from '@ant-design/pro-layout';
import { Button, Result, Space, Steps } from "antd";
import React, { useContext, useState } from "react";
import { useTranslation } from "react-i18next";
import { Link } from "react-router-dom";

View File

@@ -8,15 +8,8 @@ import Icon, {
HistoryOutlined,
SyncOutlined,
} from "@ant-design/icons";
import {
Button,
Divider,
Form,
notification,
PageHeader,
Space,
Tabs,
} from "antd";
import { PageHeader } from '@ant-design/pro-layout';
import { Button, Divider, Form, notification, Space, Tabs } from "antd";
import Axios from "axios";
import moment from "moment";
import queryString from "query-string";

View File

@@ -249,7 +249,7 @@ export function Manage({ match, conflict, bodyshop }) {
/>
<Route
exact
path={`${match.path}/courtesycars/`}
path={`${match.path}/courtesycars`}
component={CourtesyCarsPage}
/>
<Switch>