remove unused functions

This commit is contained in:
Sebastian Sdorra
2019-04-18 10:02:22 +02:00
parent 8533dfca4b
commit bfd59c1bac
3 changed files with 3 additions and 23 deletions

View File

@@ -9,7 +9,6 @@ import queryString from "query-string";
import type { User, PagedCollection } from "@scm-manager/ui-types";
import {
fetchUsersByPage,
fetchUsersByLink,
getUsersFromState,
selectListAsCollection,
isPermittedToCreateUsers,
@@ -45,8 +44,7 @@ type Props = {
location: any,
// dispatch functions
fetchUsersByPage: (link: string, page: number, filter?: string) => void,
fetchUsersByLink: (link: string) => void
fetchUsersByPage: (link: string, page: number, filter?: string) => void
};
const styles = {
@@ -186,9 +184,6 @@ const mapDispatchToProps = dispatch => {
return {
fetchUsersByPage: (link: string, page: number, filter?: string) => {
dispatch(fetchUsersByPage(link, page, filter));
},
fetchUsersByLink: (link: string) => {
dispatch(fetchUsersByLink(link));
}
};
};