feat: fix some comma dangle

This commit is contained in:
qianxi0410
2022-08-07 00:17:27 +08:00
parent 9bca6bb72e
commit c428de6e42
23 changed files with 81 additions and 75 deletions

View File

@ -44,7 +44,7 @@ class CertListPage extends BaseListPage {
CertBackend.addCert(newCert)
.then((res) => {
this.props.history.push({pathname: `/certs/${newCert.name}`, mode: "add"});
},
}
)
.catch(error => {
Setting.showMessage("error", `Cert failed to add: ${error}`);
@ -59,7 +59,7 @@ class CertListPage extends BaseListPage {
data: Setting.deleteRow(this.state.data, i),
pagination: {total: this.state.pagination.total - 1},
});
},
}
)
.catch(error => {
Setting.showMessage("error", `Cert failed to delete: ${error}`);