mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-25 02:31:59 -05:00
Removed error state action reset
no issue - Don't reset the button/error state in case of a failure, similar behavior as Ghost Admin
This commit is contained in:
parent
9ab1ef3dc3
commit
e538f9b363
1 changed files with 0 additions and 5 deletions
|
@ -212,11 +212,6 @@ export default class ParentContainer extends React.Component {
|
|||
this.setState({
|
||||
action: `${action}:failed`
|
||||
});
|
||||
setTimeout(() => {
|
||||
this.setState({
|
||||
action: ''
|
||||
});
|
||||
}, 5000);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue