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 & { type Props = RouteComponentProps & {
authenticated?: boolean; authenticated?: boolean;
links: Links; links: Links;
//context objects
history: History;
}; };
type State = { type State = {

View File

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

View File

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

View File

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

View File

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

View File

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