Provide better typing for dock tabs (#3340)

This commit is contained in:
Sebastian Malton authored and GitHub committed 2021-07-13 08:44:27 -04:00
1 parent c0c1139e3e
commit dfd9843809
17 files changed
+125 -70

No files matched your search

@@ -25,7 +25,7 @@ import React from "react";
import { observable, reaction, makeObservable } from "mobx";
import { disposeOnUnmount, observer } from "mobx-react";
import { cssNames } from "../../utils";
import type { IDockTab } from "./dock.store";
import type { DockTab } from "./dock.store";
import { InfoPanel } from "./info-panel";
import { upgradeChartStore } from "./upgrade-chart.store";
import { Spinner } from "../spinner";
@@ -38,7 +38,7 @@ import { Select, SelectOption } from "../select";
interface Props {
className?: string;
tab: IDockTab;
tab: DockTab;
}
@observer