Skip to content

Commit b4767a8

Browse files
committed
Removing unnecessary event argument onCursor activity callback
1 parent 16cd388 commit b4767a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ class Shared implements ICommon {
227227
break;
228228
}
229229
case 'onCursor': {
230-
this.editor.on('cursorActivity', (cm, event) => {
230+
this.editor.on('cursorActivity', (cm) => {
231231
this.props.onCursor(this.editor, this.editor.getCursor());
232232
});
233233
}

0 commit comments

Comments
 (0)