-
-
Notifications
You must be signed in to change notification settings - Fork 27
Closed
Description
Having a top level function called clear is quite misleading. This doesn't look like it will clear undo history:
useStore.getState().clear()I think we should either rename clear to clearUndoHistory or move all of these helper functions into a top level object, undoHelpers. So the above would look like this:
useStore.getState().undoHelpers.clear()Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels