Describe the bug
The undo button undos only the addition of a gradient. A user should also be able to undo the deletion of a gradient.
To Reproduce
Steps to reproduce the behavior:
- Add a gradient by clicking “add”
- Delete the added gradient by clicking “delete”
- Click “undo” to undo the deletion
- See error, only undos the adding of a gradient
Expected behavior
Should undo the latest action, not just the add action
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
Additional context
Add any other context about the problem here.
Describe the bug
The undo button undos only the addition of a gradient. A user should also be able to undo the deletion of a gradient.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Should undo the latest action, not just the add action
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.