Move redundant prop to type

This commit is contained in:
Rene Pfeuffer
2020-02-07 15:10:54 +01:00
parent d3d33d5d65
commit bcba3e28cd
4 changed files with 2 additions and 6 deletions

View File

@@ -10,12 +10,10 @@ import { DiffObjectProps, File } from "./DiffTypes";
import { NotFoundError } from "../errors";
import { Notification } from "../index";
import { withTranslation, WithTranslation } from "react-i18next";
import { DefaultCollapsed } from "./defaultCollapsed";
type Props = WithTranslation &
DiffObjectProps & {
url: string;
defaultCollapse?: DefaultCollapsed;
};
type State = {