From f44c1e01194e0149b60b88b3eeaa659022f033eb Mon Sep 17 00:00:00 2001 From: vapao Date: Thu, 27 Oct 2022 09:52:03 +0800 Subject: [PATCH] Clean code --- spug_web/src/pages/deploy/repository/Form.js | 2 +- spug_web/src/pages/system/account/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spug_web/src/pages/deploy/repository/Form.js b/spug_web/src/pages/deploy/repository/Form.js index 827256f..0e8d4d0 100644 --- a/spug_web/src/pages/deploy/repository/Form.js +++ b/spug_web/src/pages/deploy/repository/Form.js @@ -6,7 +6,7 @@ import React, { useState, useEffect } from 'react'; import { observer } from 'mobx-react'; import { LoadingOutlined, SyncOutlined } from '@ant-design/icons'; -import { Modal, Form, Input, Select, Button, message } from 'antd'; +import { Modal, Form, Input, Select, Button } from 'antd'; import http from 'libs/http'; import store from './store'; import lds from 'lodash'; diff --git a/spug_web/src/pages/system/account/index.js b/spug_web/src/pages/system/account/index.js index cadd12a..449a3ed 100644 --- a/spug_web/src/pages/system/account/index.js +++ b/spug_web/src/pages/system/account/index.js @@ -3,7 +3,7 @@ * Copyright (c) * Released under the AGPL-3.0 License. */ -import React, { useEffect } from 'react'; +import React from 'react'; import { observer } from 'mobx-react'; import { Input } from 'antd'; import { SearchForm, AuthDiv, Breadcrumb } from 'components';