Skip to content

Commit 1040aa7

Browse files
Copilottsnobip
andcommitted
Fix warnings and remove CodeMirror v5 dependency
Co-authored-by: tsnobip <[email protected]>
1 parent 34acb8f commit 1040aa7

File tree

4 files changed

+2
-650
lines changed

4 files changed

+2
-650
lines changed

package-lock.json

Lines changed: 0 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
"@replit/codemirror-vim": "^6.3.0",
2828
"@rescript/react": "^0.14.0-rc.1",
2929
"@rescript/webapi": "^0.1.0-experimental-0b87498",
30-
"codemirror": "^5.54.0",
3130
"docson": "^2.1.0",
3231
"escodegen": "^2.1.0",
3332
"eslint-config-next": "^13.1.1",

src/components/CodeMirror.res

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,8 +265,8 @@ let make = (
265265
~className: option<string>=?,
266266
~style: option<ReactDOM.Style.t>=?,
267267
~onChange: option<string => unit>=?,
268-
~onMarkerFocus: option<((int, int)) => unit>=?,
269-
~onMarkerFocusLeave: option<((int, int)) => unit>=?,
268+
~onMarkerFocus as _: option<((int, int)) => unit>=?,
269+
~onMarkerFocusLeave as _: option<((int, int)) => unit>=?,
270270
~value: string,
271271
~mode: string,
272272
~readOnly=false,

0 commit comments

Comments
 (0)