Skip to content

Commit 5b6d4b4

Browse files
committed
fix: reuse of page props in workflow inputs view (#1021)
1 parent a41ffad commit 5b6d4b4

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

app/views/WorkflowInputsView/types.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,9 @@ import { BRCDataCatalogGenome } from "../../apis/catalog/brc-analytics-catalog/c
22
import { GA2AssemblyEntity } from "../../apis/catalog/ga2/entities";
33

44
export type Assembly = BRCDataCatalogGenome | GA2AssemblyEntity;
5+
6+
export interface Props {
7+
entityId: string;
8+
entityListType: string;
9+
trsId: string;
10+
}

app/views/WorkflowInputsView/workflowInputsView.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
import { Detail } from "@databiosphere/findable-ui/lib/components/Detail/detail";
2-
import { Assembly } from "./types";
2+
import { Assembly, Props } from "./types";
33
import { Top } from "../../components/Entity/components/ConfigureWorkflowInputs/components/Top/top";
44
import { SideColumn } from "../../components/Entity/components/ConfigureWorkflowInputs/components/SideColumn/sideColumn";
55
import { Main } from "../../components/Entity/components/ConfigureWorkflowInputs/components/Main/main";
66
import { useConfigureInputs } from "./hooks/UseConfigureInputs/useConfigureInputs";
77
import { useConfiguredSteps } from "../../components/Entity/components/ConfigureWorkflowInputs/components/Main/components/Stepper/steps/hook";
88
import { augmentConfiguredSteps } from "../../components/Entity/components/ConfigureWorkflowInputs/components/Main/components/Stepper/steps/utils";
99
import { SEQUENCING_STEPS } from "../../components/Entity/components/ConfigureWorkflowInputs/components/Main/components/Stepper/steps/constants";
10-
import { Props } from "../../../pages/data/[entityListType]/[entityId]/[trsId]";
1110
import { getAssembly } from "../../services/workflows/entities";
1211
import { getWorkflow } from "../../services/workflows/entities";
1312

pages/data/[entityListType]/[entityId]/[trsId]/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ interface PageUrlParams extends ParsedUrlQuery {
3131
trsId: string;
3232
}
3333

34-
export interface Props {
34+
interface Props {
3535
entityId: string;
3636
entityListType: string;
3737
trsId: string;

0 commit comments

Comments
 (0)