From a4d15b20ff0bfe72236cac46ce12d282cc2b1e1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A5=87=E9=81=87=E7=A7=91=E6=8A=80?= <69790869+QiYuTechDev@users.noreply.github.com> Date: Mon, 10 May 2021 02:49:25 +0000 Subject: [PATCH] `console.warning` is not exists on browser fix typo error for `console.warn` --- awx/ui_next/src/components/CodeEditor/CodeEditor.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/ui_next/src/components/CodeEditor/CodeEditor.jsx b/awx/ui_next/src/components/CodeEditor/CodeEditor.jsx index 23932b0056..3c36df348c 100644 --- a/awx/ui_next/src/components/CodeEditor/CodeEditor.jsx +++ b/awx/ui_next/src/components/CodeEditor/CodeEditor.jsx @@ -84,7 +84,7 @@ function CodeEditor({ }) { if (rows && typeof rows !== 'number' && rows !== 'auto') { // eslint-disable-next-line no-console - console.warning( + console.warn( `CodeEditor: Unexpected value for 'rows': ${rows}; expected number or 'auto'` ); }