Skip to content

Commit 9b518af

Browse files
Reorg correlation tile components (#385)
1 parent 2ffa627 commit 9b518af

File tree

10 files changed

+6
-6
lines changed

10 files changed

+6
-6
lines changed

frontend/packages/portal-frontend/src/compound/stories/DependencyMeter.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from "react";
2-
import { DependencyMeter } from "../components/tiles/DependencyMeter";
2+
import { DependencyMeter } from "../tiles/CorrelatedDependenciesTile/DependencyMeter";
33

44
export default {
55
title: "Components/Compounds/DependencyMeter",

frontend/packages/portal-frontend/src/compound/stories/RelatedCompoundsTile.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from "react";
22

3-
import RelatedCompoundsTile from "../components/tiles/RelatedCompoundsTile";
3+
import RelatedCompoundsTile from "../tiles/RelatedCompoundsTile/RelatedCompoundsTile";
44

55
export default {
66
title: "Components/Compounds/RelatedCompooundsTile",

frontend/packages/portal-frontend/src/compound/stories/TopDatasetCorrelations.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from "react";
22

3-
import { TopDatasetDependencies } from "../components/tiles/TopDatasetDependencies";
3+
import { TopDatasetDependencies } from "../tiles/CorrelatedDependenciesTile/TopDatasetDependencies";
44

55
export default {
66
title: "Components/Compounds/TopDatasetCorrelations",

frontend/packages/portal-frontend/src/compound/components/tiles/TopRelatedCompounds.tsx renamed to frontend/packages/portal-frontend/src/compound/tiles/RelatedCompoundsTile/TopRelatedCompounds.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from "react";
22
import styles from "../../styles/CorrelationTile.scss";
3-
import { CorrelationBar } from "./CorrelationBar";
3+
import { CorrelationBar } from "../CorrelationBar";
44
import { Tooltip } from "@depmap/common-components";
55

66
interface TopRelatedCompoundsProps {

frontend/packages/portal-frontend/src/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,15 @@ const CorrelatedDependenciesTile = React.lazy(
3838
() =>
3939
import(
4040
/* webpackChunkName: "CorrelatedDependenciesTile" */
41-
"src/compound/components/tiles/CorrelatedDependenciesTile"
41+
"./compound/tiles/CorrelatedDependenciesTile/CorrelatedDependenciesTile"
4242
)
4343
);
4444

4545
const RelatedCompoundsTile = React.lazy(
4646
() =>
4747
import(
4848
/* webpackChunkName: "RelatedCompoundsTile" */
49-
"src/compound/components/tiles/RelatedCompoundsTile"
49+
"./compound/tiles/RelatedCompoundsTile/RelatedCompoundsTile"
5050
)
5151
);
5252

0 commit comments

Comments
 (0)