chore: bumbed codemirror version

This commit is contained in:
Anoop M D 2022-03-16 03:29:55 +05:30
parent 2a0c7947a3
commit 762599b82e
3 changed files with 39 additions and 10730 deletions

10765
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -24,7 +24,7 @@
"@tippyjs/react": "^4.2.6",
"axios": "^0.26.0",
"classnames": "^2.3.1",
"codemirror": "^5.64.0",
"codemirror": "^5.65.2",
"codemirror-graphql": "^1.2.5",
"electron-is-dev": "^2.0.0",
"electron-next": "^3.1.5",

View File

@ -22,6 +22,7 @@ const QueryResult = ({data, width}) => {
mode: "application/ld+json",
foldGutter: true,
gutters: ["CodeMirror-linenumbers", "CodeMirror-foldgutter"],
readOnly: true,
lineWrapping: true
});
@ -40,6 +41,7 @@ const QueryResult = ({data, width}) => {
}
}, [editor.current, cmEditor, data]);
return (
<StyledWrapper className="mt-4 px-3 w-full" style={{maxWidth: width}}>
<div className="h-full">