You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/index.tsx
+16-8Lines changed: 16 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -120,11 +120,11 @@ class Shared implements ICommon {
120
120
console.warn('`resetCursorOnSet` has been deprecated. Use `autoCursor` instead\n\nSee https://github.com/scniro/react-codemirror2#props');
121
121
}
122
122
123
-
if(this.props.onSet!==undefined){
123
+
if(this.props.onSet!==undefined){
124
124
console.warn('`onSet` has been deprecated. User `editorDidMount` instead. See https://github.com/scniro/react-codemirror2#events');
125
125
}
126
126
127
-
if(this.props.onBeforeSet!==undefined){
127
+
if(this.props.onBeforeSet!==undefined){
128
128
console.warn('`onBeforeSet` has been deprecated. User `onBeforeChange` for `Controlled`. instead. See https://github.com/scniro/react-codemirror2#events');
0 commit comments