mirror of
https://github.com/ansible/awx.git
synced 2026-03-15 07:57:29 -02:30
console.warning is not exists on browser
fix typo error for `console.warn`
This commit is contained in:
@@ -84,7 +84,7 @@ function CodeEditor({
|
|||||||
}) {
|
}) {
|
||||||
if (rows && typeof rows !== 'number' && rows !== 'auto') {
|
if (rows && typeof rows !== 'number' && rows !== 'auto') {
|
||||||
// eslint-disable-next-line no-console
|
// eslint-disable-next-line no-console
|
||||||
console.warning(
|
console.warn(
|
||||||
`CodeEditor: Unexpected value for 'rows': ${rows}; expected number or 'auto'`
|
`CodeEditor: Unexpected value for 'rows': ${rows}; expected number or 'auto'`
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user