upgrade react-diff-view to v2.4.1

This commit is contained in:
Sebastian Sdorra
2020-01-06 15:59:16 +01:00
parent 3e1828eb12
commit cc26ffcaa8
8 changed files with 8368 additions and 3932 deletions

View File

@@ -9,12 +9,13 @@ import Diff from "./Diff";
import { DiffObjectProps, File } from "./DiffTypes";
import { NotFoundError } from "../errors";
import { Notification } from "../index";
import {withTranslation, WithTranslation} from "react-i18next";
import { withTranslation, WithTranslation } from "react-i18next";
type Props = WithTranslation & DiffObjectProps & {
url: string;
defaultCollapse?: boolean;
};
type Props = WithTranslation &
DiffObjectProps & {
url: string;
defaultCollapse?: boolean;
};
type State = {
diff?: File[];