mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-08 22:45: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 & {
|
type Props = RouteComponentProps & {
|
||||||
authenticated?: boolean;
|
authenticated?: boolean;
|
||||||
links: Links;
|
links: Links;
|
||||||
|
|
||||||
//context objects
|
|
||||||
history: History;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
type State = {
|
type State = {
|
||||||
|
|||||||
@@ -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> {
|
||||||
|
|||||||
@@ -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;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -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;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -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;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -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;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user