We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4586f71 commit 71f0f5dCopy full SHA for 71f0f5d
src/Playground.res
@@ -1485,8 +1485,8 @@ let make = (~versions: array<string>) => {
1485
let (keyMap, setKeyMap) = React.useState(() => {
1486
Dom.Storage2.localStorage
1487
->Dom.Storage2.getItem("vimMode")
1488
- ->Belt.Option.map(CodeMirror.KeyMap.fromString)
1489
- ->Belt.Option.getWithDefault(CodeMirror.KeyMap.Default)
+ ->Option.map(CodeMirror.KeyMap.fromString)
+ ->Option.getOr(CodeMirror.KeyMap.Default)
1490
})
1491
1492
React.useEffect1(() => {
0 commit comments