From 1fb50326566842b6f1e2ed80808a893d21d38911 Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Sat, 18 Nov 2017 01:27:49 +0100 Subject: [PATCH] Fixed linting errors --- static/src/index.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/static/src/index.js b/static/src/index.js index 97e03b9..2dadc9e 100644 --- a/static/src/index.js +++ b/static/src/index.js @@ -96,19 +96,19 @@ export default class BaseComponent extends Component {

The following authentication services are currently available:

- {providers.length == 0 &&

There are currently no correct oAuth credential maintained.

} - {providers.indexOf("microsoft") != -1 &&
+ {providers.length === 0 &&

There are currently no correct oAuth credentials maintained.

} + {providers.indexOf("microsoft") !== -1 &&
} - {providers.indexOf("microsoft") != -1 &&
+ {providers.indexOf("microsoft") !== -1 &&
} - {providers.indexOf("microsoft") != -1 &&
+ {providers.indexOf("microsoft") !== -1 &&