remove obsolete context props

This commit is contained in:
Eduard Heimbuch
2020-01-09 09:52:09 +01:00
parent 4e23fd95ab
commit bdb02cdfd1
6 changed files with 0 additions and 23 deletions

View File

@@ -8,9 +8,6 @@ import { Links, Link } from "@scm-manager/ui-types";
type Props = RouteComponentProps & {
authenticated?: boolean;
links: Links;
//context objects
history: History;
};
type State = {

View File

@@ -9,10 +9,6 @@ type Props = RouteComponentProps & {
showCreateButton: boolean;
link: string;
label?: string;
// context props
history: History;
location: any;
};
class OverviewPageActions extends React.Component<Props> {

View File

@@ -27,10 +27,6 @@ type Props = RouteComponentProps &
page: number;
rolesLink: string;
// context objects
history: History;
location: any;
// dispatch functions
fetchRolesByPage: (link: string, page: number) => void;
};

View File

@@ -34,10 +34,6 @@ type Props = RouteComponentProps &
page: number;
groupLink: string;
// context objects
history: History;
location: any;
// dispatch functions
fetchGroupsByPage: (link: string, page: number, filter?: string) => void;
};

View File

@@ -32,10 +32,6 @@ type Props = WithTranslation &
page: number;
reposLink: string;
// context props
history: History;
location: any;
// dispatched functions
fetchReposByPage: (link: string, page: number, filter?: string) => void;
};

View File

@@ -34,10 +34,6 @@ type Props = RouteComponentProps &
page: number;
usersLink: string;
// context objects
history: History;
location: any;
// dispatch functions
fetchUsersByPage: (link: string, page: number, filter?: string) => void;
};