{
+ {
const values = {};
values["application"] = application.name;
this.login(values);
- }} />
+ }}>
+
+
diff --git a/web/src/auth/SelfLoginButton.js b/web/src/auth/SelfLoginButton.js
index 8f03b79f..c1ee1e37 100644
--- a/web/src/auth/SelfLoginButton.js
+++ b/web/src/auth/SelfLoginButton.js
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-import React from "react";
+import React, {memo} from "react";
import {createButton} from "react-social-login-buttons";
class SelfLoginButton extends React.Component {
@@ -44,4 +44,4 @@ class SelfLoginButton extends React.Component {
}
}
-export default SelfLoginButton;
+export default memo(SelfLoginButton);