mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 15:35:49 +01:00
remove unused parameter
This commit is contained in:
@@ -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())
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user