From 2995d00275ab2a01b2f1816e59ade9b3558fe126 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20K=C3=BChn?= Date: Mon, 6 Dec 2021 12:34:14 +0100 Subject: [PATCH] fix lint error --- packages/core/src/commands/unsetAllMarks.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/commands/unsetAllMarks.ts b/packages/core/src/commands/unsetAllMarks.ts index 9d17202f5..cdcffc790 100644 --- a/packages/core/src/commands/unsetAllMarks.ts +++ b/packages/core/src/commands/unsetAllMarks.ts @@ -11,7 +11,7 @@ declare module '@tiptap/core' { } } -export const unsetAllMarks: RawCommands['unsetAllMarks'] = () => ({ tr, state, dispatch }) => { +export const unsetAllMarks: RawCommands['unsetAllMarks'] = () => ({ tr, dispatch }) => { const { selection } = tr const { empty, ranges } = selection