feat(web): add lint (#875)

* feat: add lint

* feat: fix lint error

* chore: add ignore file

* chore: close indent
This commit is contained in:
キリサメ qianxi
2022-07-10 15:45:55 +08:00
committed by GitHub
parent 475b6da35a
commit 503d244166
121 changed files with 17023 additions and 16815 deletions

View File

@ -13,7 +13,7 @@
// limitations under the License.
import React from "react";
import {Button, Result, Spin} from 'antd';
import {Button, Result, Spin} from "antd";
import * as PaymentBackend from "./backend/PaymentBackend";
import * as Setting from "./Setting";
import i18next from "i18next";
@ -71,7 +71,7 @@ class PaymentResultPage extends React.Component {
]}
/>
</div>
)
);
} else if (payment.state === "Created") {
return (
<div>
@ -87,7 +87,7 @@ class PaymentResultPage extends React.Component {
]}
/>
</div>
)
);
} else {
return (
<div>
@ -107,7 +107,7 @@ class PaymentResultPage extends React.Component {
]}
/>
</div>
)
);
}
}
}