diff --git a/imports/plugins/core/accounts/client/components/login.js b/imports/plugins/core/accounts/client/components/login.js
index b9021bc4030..8c440aa1d32 100644
--- a/imports/plugins/core/accounts/client/components/login.js
+++ b/imports/plugins/core/accounts/client/components/login.js
@@ -60,7 +60,8 @@ class Login extends Component {
const currentRoute = Router.current().route;
const isOauthFlow = currentRoute.options && currentRoute.options.meta && currentRoute.options.meta.oauthLoginFlow;
const idpFormClass = isOauthFlow ? "idp-form" : "";
- if (this.state.currentView === "loginFormSignInView" || this.state.currentView === "loginFormSignUpView" || this.state.currentView === "loginFormUpdatePasswordView") {
+ const { currentView } = this.state;
+ if (currentView === "loginFormSignInView" || currentView === "loginFormSignUpView" || currentView === "loginFormUpdatePasswordView") {
if (isOauthFlow) {
return (
);
- } else if (this.state.currentView === "loginFormResetPasswordView") {
+ } else if (currentView === "loginFormResetPasswordView") {
return (
);
}
+
+ return null;
}
}
diff --git a/imports/plugins/core/dashboard/client/components/OperatorLanding.js b/imports/plugins/core/dashboard/client/components/OperatorLanding.js
index b37dae17070..95a8ad88b30 100644
--- a/imports/plugins/core/dashboard/client/components/OperatorLanding.js
+++ b/imports/plugins/core/dashboard/client/components/OperatorLanding.js
@@ -28,7 +28,8 @@ function OperatorLanding() {
- Use the Operator UI to manage Orders, Products, Tags, Accounts, and Navigation, or change shop settings.
+ {/* eslint-disable-next-line max-len */}
+ Use the Operator UI to manage Orders, Products, Tags, Accounts, and Navigation, or change shop settings.
diff --git a/imports/plugins/core/dashboard/client/components/ShopLogoUrls.js b/imports/plugins/core/dashboard/client/components/ShopLogoUrls.js
index 5967b4abe12..abe120c561d 100644
--- a/imports/plugins/core/dashboard/client/components/ShopLogoUrls.js
+++ b/imports/plugins/core/dashboard/client/components/ShopLogoUrls.js
@@ -108,7 +108,12 @@ class ShopLogoUrls extends Component {
diff --git a/imports/plugins/core/navigation/client/components/NavigationItemForm.js b/imports/plugins/core/navigation/client/components/NavigationItemForm.js
index a199160dfe9..fad9945caa0 100644
--- a/imports/plugins/core/navigation/client/components/NavigationItemForm.js
+++ b/imports/plugins/core/navigation/client/components/NavigationItemForm.js
@@ -223,7 +223,9 @@ class NavigationItemForm extends Component {
)}
-
+
diff --git a/imports/plugins/core/orders/client/components/orderCardHeader.js b/imports/plugins/core/orders/client/components/orderCardHeader.js
index 6e8b9a75e08..47c173478e0 100644
--- a/imports/plugins/core/orders/client/components/orderCardHeader.js
+++ b/imports/plugins/core/orders/client/components/orderCardHeader.js
@@ -102,7 +102,9 @@ class OrderCardHeader extends Component {
- {i18next.t("orderCard.orderSummary.showOrderSummary", "Show order summary")}
+
+ {i18next.t("orderCard.orderSummary.showOrderSummary", "Show order summary")}
+
diff --git a/imports/plugins/core/taxes/client/components/GeneralTaxSettings.js b/imports/plugins/core/taxes/client/components/GeneralTaxSettings.js
index 4d17b943082..99a89d7d34f 100644
--- a/imports/plugins/core/taxes/client/components/GeneralTaxSettings.js
+++ b/imports/plugins/core/taxes/client/components/GeneralTaxSettings.js
@@ -61,7 +61,12 @@ export default class GeneralTaxSettings extends Component {