mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-08 06:25:45 +01:00
remove obsolete context props
This commit is contained in:
@@ -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 = {
|
||||
|
||||
@@ -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> {
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user