Skip to content

Commit

Permalink
fix: redo typo (#1130)
Browse files Browse the repository at this point in the history
  • Loading branch information
natsuki-engr authored Oct 9, 2023
1 parent f89a747 commit 312c8ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/plugin-history/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ withMeta(undoCommand, {
})

/// The milkdown command wrapper of [redo API](https://prosemirror.net/docs/ref/#history.redo) in [prosemirror-history](https://prosemirror.net/docs/ref/#history).
export const redoCommand = $command('Undo', () => () => redo)
export const redoCommand = $command('Redo', () => () => redo)

withMeta(undoCommand, {
withMeta(redoCommand, {
displayName: 'Command<redo>',
})

Expand Down

0 comments on commit 312c8ba

Please sign in to comment.