From d82e74b468f52b77be10a19c3b190f6ddb974e14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maren=20S=C3=BCwer?= Date: Thu, 11 Oct 2018 11:52:05 +0200 Subject: [PATCH] remove unused parameter --- scm-ui/src/containers/Login.js | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/scm-ui/src/containers/Login.js b/scm-ui/src/containers/Login.js index a5c9d2964c..b0de9f3ab3 100644 --- a/scm-ui/src/containers/Login.js +++ b/scm-ui/src/containers/Login.js @@ -18,11 +18,7 @@ import { Image } from "@scm-manager/ui-components"; import classNames from "classnames"; -import { - fetchIndexResources, - getLoginLink, - getMeLink -} from "../modules/indexResource"; +import { fetchIndexResources, getLoginLink } from "../modules/indexResource"; const styles = { avatar: { @@ -168,12 +164,8 @@ const mapStateToProps = state => { const mapDispatchToProps = dispatch => { return { - login: ( - loginLink: string, - meLink: string, - username: string, - password: string - ) => dispatch(login(loginLink, meLink, username, password)), + login: (loginLink: string, username: string, password: string) => + dispatch(login(loginLink, username, password)), fetchIndexResources: () => dispatch(fetchIndexResources()) }; };