diff --git a/console/src/components/App/App.js b/console/src/components/App/App.js index a6a0f7e2b1f..f5b568a82ec 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 6fc4ac790e4..0f124ae9430 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