From c13cb11bc9140ce482674ecfb59e756968c8c395 Mon Sep 17 00:00:00 2001 From: KirankumarAmbati Date: Wed, 25 Sep 2019 01:45:32 +0530 Subject: [PATCH] chore: fixed typos and grammar --- console/src/components/App/App.js | 8 +++----- console/src/components/Common/Button/Button.js | 7 ++++--- .../Common/QueryBuilderJson/QueryBuilderJson.js | 4 ++-- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/console/src/components/App/App.js b/console/src/components/App/App.js index a6a0f7e2b1f4a..f5b568a82ece2 100644 --- a/console/src/components/App/App.js +++ b/console/src/components/App/App.js @@ -53,11 +53,9 @@ class App extends Component { ); } - if (telemetry.console_opts) { - if (!telemetry.console_opts.telemetryNotificationShown) { - dispatch(showTelemetryNotification()); - dispatch(telemetryNotificationShown()); - } + if (telemetry.console_opts && !telemetry.console_opts.telemetryNotificationShown) { + dispatch(showTelemetryNotification()); + dispatch(telemetryNotificationShown()); } return ( diff --git a/console/src/components/Common/Button/Button.js b/console/src/components/Common/Button/Button.js index 6fc4ac790e459..0f124ae943044 100644 --- a/console/src/components/Common/Button/Button.js +++ b/console/src/components/Common/Button/Button.js @@ -2,10 +2,11 @@ import React from 'react'; import styles from '../Common.scss'; /* - This is a Button HOC that takes al the props supported by