Skip to content

Commit

Permalink
Merge pull request #145 from Ashuaidehao/dev-back
Browse files Browse the repository at this point in the history
Optimize
  • Loading branch information
Ashuaidehao authored Oct 13, 2022
2 parents f42a4bc + 99b9960 commit 0102d9c
Show file tree
Hide file tree
Showing 54 changed files with 824 additions and 4,007 deletions.
2,677 changes: 15 additions & 2,662 deletions neo3-gui/neo3-gui/ClientApp/package-lock.json

Large diffs are not rendered by default.

4 changes: 1 addition & 3 deletions neo3-gui/neo3-gui/ClientApp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"@testing-library/user-event": "^7.1.2",
"antd": "^4.0.1",
"axios": "^0.21.1",
"base64-js": "^1.3.1",
"bs58check": "^2.1.2",
"customize-cra": "^0.9.1",
"i18next": "^19.3.4",
Expand All @@ -26,8 +25,7 @@
"react-i18next": "^11.3.4",
"react-intl": "^3.9.3",
"react-router-dom": "^5.1.2",
"react-scripts": "^3.4.1",
"reconnecting-websocket": "^4.2.0"
"react-scripts": "^3.4.1"
},
"scripts": {
"start": "cross-env BROWSER=none react-app-rewired start",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/* eslint-disable */
import React from "react";
import { observer, inject } from "mobx-react";
import { withRouter } from "react-router-dom";
import { Layout, Menu } from "antd";
import { Link } from "react-router-dom";
import MenuDown from "../Common/menudown";
Expand All @@ -13,7 +11,7 @@ const { SubMenu } = Menu;

@withTranslation()
class Advancedlayout extends React.Component {
render = () => {
render() {
const { t } = this.props;
return (
<div style={{ height: "100%" }}>
Expand Down
12 changes: 4 additions & 8 deletions neo3-gui/neo3-gui/ClientApp/src/components/Advanced/candidate.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-disable */
import React from "react";
import "antd/dist/antd.css";
import "antd/dist/antd.min.css";
import {
Checkbox,
PageHeader,
Expand All @@ -15,21 +15,17 @@ import {
} from "antd";
import { Layout } from "antd";
import Sync from "../sync";
import { observer, inject } from "mobx-react";
import { withRouter } from "react-router-dom";
import { withTranslation } from "react-i18next";
import "../../static/css/advanced.css";
import { postAsync } from "../../core/request";

import { withAuthenticated } from '../../core/authentication';
const { Option } = Select;

const CheckboxGroup = Checkbox.Group;
const { Content } = Layout;

@withTranslation()
@inject("walletStore")
@observer
@withRouter
@withAuthenticated
class Advancedcandidate extends React.Component {
constructor(props) {
super(props);
Expand Down Expand Up @@ -105,7 +101,7 @@ class Advancedcandidate extends React.Component {
okText: t("button.ok"),
});
};
render = () => {
render() {
const { t } = this.props;
const { disabled, accountlist } = this.state;
return (
Expand Down
Loading

0 comments on commit 0102d9c

Please sign in to comment.