Skip to content

Commit

Permalink
GUI S3 Objects lifecycle (#2759): delete rule - remove unnecessary async
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksandrGorodetskii committed Sep 8, 2022
1 parent dc698eb commit 9609584
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ class LifeCycleRules extends React.Component {

deleteRule = (ruleId) => {
const {storageId} = this.props;
const onConfirm = async () => {
const onConfirm = () => {
const request = new DataStorageLifeCycleRulesDelete(storageId, ruleId);
this.setState({pending: true}, async () => {
await request.send();
Expand Down

0 comments on commit 9609584

Please sign in to comment.