mirror of
https://github.com/logto-io/logto.git
synced 2025-01-06 20:40:08 -05:00
fix(console): resolve js warning reported in code editor component
This commit is contained in:
parent
45efcd2133
commit
c5d14887d4
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