Skip to content

Commit

Permalink
prettier all
Browse files Browse the repository at this point in the history
  • Loading branch information
chenshuai2144 committed Jun 24, 2022
1 parent c986166 commit 842dfc8
Show file tree
Hide file tree
Showing 16 changed files with 5 additions and 16 deletions.
1 change: 0 additions & 1 deletion jsExample/src/components/Authorized/Authorized.jsx
@@ -1,5 +1,4 @@
import { Result } from 'antd';
import React from 'react';
import check from './CheckPermissions';

const Authorized = ({
Expand Down
1 change: 0 additions & 1 deletion jsExample/src/components/Authorized/CheckPermissions.jsx
@@ -1,4 +1,3 @@
import React from 'react';
import PromiseRender from './PromiseRender';
import { CURRENT } from './renderAuthorize'; // eslint-disable-next-line

Expand Down
2 changes: 1 addition & 1 deletion jsExample/src/components/GlobalHeader/NoticeIconView.jsx
@@ -1,7 +1,7 @@
import { message, Tag } from 'antd';
import groupBy from 'lodash/groupBy';
import moment from 'moment';
import React, { Component } from 'react';
import { Component } from 'react';
import { connect } from 'umi';
import NoticeIcon from '../NoticeIcon';
import styles from './index.less';
Expand Down
1 change: 0 additions & 1 deletion jsExample/src/components/GlobalHeader/RightContent.jsx
@@ -1,6 +1,5 @@
import { QuestionCircleOutlined } from '@ant-design/icons';
import { Tag, Tooltip } from 'antd';
import React from 'react';
import { connect, SelectLang } from 'umi';
import HeaderSearch from '../HeaderSearch';
import Avatar from './AvatarDropdown';
Expand Down
1 change: 0 additions & 1 deletion jsExample/src/components/HeaderDropdown/index.jsx
@@ -1,6 +1,5 @@
import { Dropdown } from 'antd';
import classNames from 'classnames';
import React from 'react';
import styles from './index.less';

const HeaderDropdown = ({ overlayClassName: cls, ...restProps }) => (
Expand Down
2 changes: 1 addition & 1 deletion jsExample/src/components/HeaderSearch/index.jsx
Expand Up @@ -2,7 +2,7 @@ import { SearchOutlined } from '@ant-design/icons';
import { AutoComplete, Input } from 'antd';
import classNames from 'classnames';
import useMergedState from 'rc-util/es/hooks/useMergedState';
import React, { useRef } from 'react';
import { useRef } from 'react';
import styles from './index.less';

const HeaderSearch = (props) => {
Expand Down
1 change: 0 additions & 1 deletion jsExample/src/components/NoticeIcon/NoticeList.jsx
@@ -1,6 +1,5 @@
import { Avatar, List } from 'antd';
import classNames from 'classnames';
import React from 'react';
import styles from './NoticeList.less';

const NoticeList = ({
Expand Down
1 change: 0 additions & 1 deletion jsExample/src/global.jsx
@@ -1,5 +1,4 @@
import { Button, message, notification } from 'antd';
import React from 'react';
import { useIntl } from 'umi';
import defaultSettings from '../config/defaultSettings';

Expand Down
2 changes: 1 addition & 1 deletion jsExample/src/layouts/BasicLayout.jsx
Expand Up @@ -9,7 +9,7 @@ import { GithubOutlined } from '@ant-design/icons';
import ProLayout, { DefaultFooter } from '@ant-design/pro-layout';
import { getMatchMenu } from '@umijs/route-utils';
import { Button, Result } from 'antd';
import React, { useEffect, useMemo, useRef } from 'react';
import { useEffect, useMemo, useRef } from 'react';
import { connect, history, Link, useIntl } from 'umi';
import logo from '../assets/logo.svg';

Expand Down
1 change: 0 additions & 1 deletion jsExample/src/layouts/UserLayout.jsx
@@ -1,5 +1,4 @@
import { DefaultFooter, getMenuData, getPageTitle } from '@ant-design/pro-layout';
import React from 'react';
import { Helmet, HelmetProvider } from 'react-helmet-async';
import { connect, FormattedMessage, Link, SelectLang, useIntl } from 'umi';
import logo from '../assets/logo.svg';
Expand Down
1 change: 0 additions & 1 deletion jsExample/src/pages/404.jsx
@@ -1,5 +1,4 @@
import { Button, Result } from 'antd';
import React from 'react';
import { history } from 'umi';

const NoFoundPage = () => (
Expand Down
1 change: 0 additions & 1 deletion jsExample/src/pages/Admin.jsx
@@ -1,7 +1,6 @@
import { HeartTwoTone, SmileTwoTone } from '@ant-design/icons';
import { PageHeaderWrapper } from '@ant-design/pro-layout';
import { Alert, Card, Typography } from 'antd';
import React from 'react';
import { useIntl } from 'umi';

export default () => {
Expand Down
1 change: 0 additions & 1 deletion jsExample/src/pages/TableList/components/UpdateForm.jsx
Expand Up @@ -7,7 +7,6 @@ import {
StepsForm,
} from '@ant-design/pro-form';
import { Modal } from 'antd';
import React from 'react';
import { FormattedMessage, useIntl } from 'umi';

const UpdateForm = (props) => {
Expand Down
2 changes: 1 addition & 1 deletion jsExample/src/pages/TableList/index.jsx
Expand Up @@ -4,7 +4,7 @@ import { ModalForm, ProFormText, ProFormTextArea } from '@ant-design/pro-form';
import { FooterToolbar, PageContainer } from '@ant-design/pro-layout';
import ProTable from '@ant-design/pro-table';
import { Button, Drawer, Input, message } from 'antd';
import React, { useRef, useState } from 'react';
import { useRef, useState } from 'react';
import { FormattedMessage, useIntl } from 'umi';
import UpdateForm from './components/UpdateForm';
import { addRule, queryRule, removeRule, updateRule } from './service';
Expand Down
2 changes: 1 addition & 1 deletion jsExample/src/pages/User/login/index.jsx
Expand Up @@ -10,7 +10,7 @@ import {
} from '@ant-design/icons';
import ProForm, { ProFormCaptcha, ProFormCheckbox, ProFormText } from '@ant-design/pro-form';
import { Alert, message, Space, Tabs } from 'antd';
import React, { useState } from 'react';
import { useState } from 'react';
import { connect, FormattedMessage, useIntl } from 'umi';
import styles from './index.less';

Expand Down
1 change: 0 additions & 1 deletion jsExample/src/pages/Welcome.jsx
@@ -1,6 +1,5 @@
import { PageContainer } from '@ant-design/pro-layout';
import { Alert, Card, Typography } from 'antd';
import React from 'react';
import { FormattedMessage, useIntl } from 'umi';
import styles from './Welcome.less';

Expand Down

0 comments on commit 842dfc8

Please sign in to comment.