Skip to content

Commit

Permalink
fix: redo typo
Browse files Browse the repository at this point in the history
  • Loading branch information
natsuki-engr committed Sep 27, 2023
1 parent effd856 commit 5bfc42a
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 5bfc42a

Please sign in to comment.