mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
Merge pull request #801 from logto-io/charles-log-2406-resolve-code-editor-js-warning
fix(console): resolve js warning reported in code editor component
This commit is contained in:
commit
f76457c286
1 changed files with 2 additions and 3 deletions
|
@ -29,10 +29,9 @@ const CodeEditor = ({ language, isReadonly = false, value = '', onChange }: Prop
|
|||
data-gramm="false"
|
||||
readOnly={isReadonly}
|
||||
spellCheck="false"
|
||||
value={value}
|
||||
onChange={handleChange}
|
||||
>
|
||||
{value}
|
||||
</textarea>
|
||||
/>
|
||||
<SyntaxHighlighter
|
||||
customStyle={{
|
||||
background: 'transparent',
|
||||
|
|
Loading…
Reference in a new issue