If you draw some lines, then undo all of them, the redo button is working as expected.
When you clear, then try to do the same (draw lines and undo them all) then redo is not working (it is working if you undo some lines, but not if you undo all lines)
Describe the bug
If you draw some lines, then undo all of them, the redo button is working as expected. When you clear, then try to do the same (draw lines and undo them all) then redo is not working (it is working if you undo some lines, but not if you undo all lines)
Reproduction
https://drauu.netlify.app/
System Info
Used Package Manager
npm
Validations
Contributions