0
Fork 0
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:
Rish 2020-06-10 18:02:30 +05:30
parent 9ab1ef3dc3
commit e538f9b363

View file

@ -212,11 +212,6 @@ export default class ParentContainer extends React.Component {
this.setState({
action: `${action}:failed`
});
setTimeout(() => {
this.setState({
action: ''
});
}, 5000);
}
}