remove reset state since it is not needed2

§
This commit is contained in:
Maren Süwer
2018-09-27 11:57:19 +02:00
parent 991640bc4b
commit 33ffd4baa8
2 changed files with 0 additions and 12 deletions

View File

@@ -35,7 +35,6 @@ class ChangesetView extends React.Component<Props> {
const { fetchChangesetIfNeeded, repository } = this.props; const { fetchChangesetIfNeeded, repository } = this.props;
const id = this.props.match.params.id; const id = this.props.match.params.id;
fetchChangesetIfNeeded(repository.namespace, repository.name, id); fetchChangesetIfNeeded(repository.namespace, repository.name, id);
this.props.resetForm(repository.namespace, repository.name, id);
} }
render() { render() {

View File

@@ -23,7 +23,6 @@ export const FETCH_CHANGESET = "scm/repos/FETCH_CHANGESET";
export const FETCH_CHANGESET_PENDING = `${FETCH_CHANGESET}_${PENDING_SUFFIX}`; export const FETCH_CHANGESET_PENDING = `${FETCH_CHANGESET}_${PENDING_SUFFIX}`;
export const FETCH_CHANGESET_SUCCESS = `${FETCH_CHANGESET}_${SUCCESS_SUFFIX}`; export const FETCH_CHANGESET_SUCCESS = `${FETCH_CHANGESET}_${SUCCESS_SUFFIX}`;
export const FETCH_CHANGESET_FAILURE = `${FETCH_CHANGESET}_${FAILURE_SUFFIX}`; export const FETCH_CHANGESET_FAILURE = `${FETCH_CHANGESET}_${FAILURE_SUFFIX}`;
export const FETCH_CHANGESET_RESET = `${FETCH_CHANGESET}_${types.RESET_SUFFIX}`;
//********end of detailed view add //********end of detailed view add
@@ -111,16 +110,6 @@ function fetchChangesetFailure(
}; };
} }
export function fetchChangesetReset(
namespace: string,
repoName: string,
id: string
) {
return {
type: FETCH_CHANGESET_RESET,
itemId: createItemId(namespace, repoName, id)
};
}
//********end of detailed view add //********end of detailed view add
export function fetchChangesetsWithOptions( export function fetchChangesetsWithOptions(