Skip to content

Incorrect value historyAtom in the reatomUndo #831

Open
@DmitriyBadeev

Description

@DmitriyBadeev

What happened?

Initial value of the historyAtom in reatomUndo contains [undefined, someInitialValue] instead of [someInitialValue]. For this reason the isUndoAtom is computed incorrectly

Part

Package @reatom/undo

Version

3.3.2

What browsers are you seeing the problem on?

No response

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions