remove unused parameter

This commit is contained in:
Maren Süwer
2018-10-11 11:52:05 +02:00
parent dd7a68fa02
commit d82e74b468

View File

@@ -18,11 +18,7 @@ import {
Image Image
} from "@scm-manager/ui-components"; } from "@scm-manager/ui-components";
import classNames from "classnames"; import classNames from "classnames";
import { import { fetchIndexResources, getLoginLink } from "../modules/indexResource";
fetchIndexResources,
getLoginLink,
getMeLink
} from "../modules/indexResource";
const styles = { const styles = {
avatar: { avatar: {
@@ -168,12 +164,8 @@ const mapStateToProps = state => {
const mapDispatchToProps = dispatch => { const mapDispatchToProps = dispatch => {
return { return {
login: ( login: (loginLink: string, username: string, password: string) =>
loginLink: string, dispatch(login(loginLink, username, password)),
meLink: string,
username: string,
password: string
) => dispatch(login(loginLink, meLink, username, password)),
fetchIndexResources: () => dispatch(fetchIndexResources()) fetchIndexResources: () => dispatch(fetchIndexResources())
}; };
}; };