diff --git a/python/src/components/ReadoutComponent/index.ts b/python/src/components/ReadoutComponent/index.ts index bcd26badb..edbc7ca13 100644 --- a/python/src/components/ReadoutComponent/index.ts +++ b/python/src/components/ReadoutComponent/index.ts @@ -1 +1 @@ -export { default } from "./ReadoutComponent"; \ No newline at end of file +export { default } from "./ReadoutComponent"; diff --git a/python/src/components/SubsurfaceViewer/SubsurfaceViewer.tsx b/python/src/components/SubsurfaceViewer/SubsurfaceViewer.tsx index d061b647a..e128106b8 100644 --- a/python/src/components/SubsurfaceViewer/SubsurfaceViewer.tsx +++ b/python/src/components/SubsurfaceViewer/SubsurfaceViewer.tsx @@ -5,14 +5,9 @@ import { ViewStateType, } from "@webviz/subsurface-viewer"; import { DeckGLRef } from "@deck.gl/react"; -import { - PickingInfoPerView, - useMultiViewPicking, -} from "@webviz/subsurface-viewer/src/hooks/useMultiViewPicking"; +import { useMultiViewPicking } from "@webviz/subsurface-viewer/src/hooks/useMultiViewPicking"; import { useMultiViewCursorTracking } from "@webviz/subsurface-viewer/src/hooks/useMultiViewCursorTracking"; import { isEqual } from "lodash"; -import ViewAnnotation from "../ViewAnnotation/ViewAnnotation"; -import ReadoutComponent from "../ReadoutComponent"; const SubsurfaceViewerComponent = React.lazy(() => import( diff --git a/python/src/components/WellLogViewer/WellLogViewer.tsx b/python/src/components/WellLogViewer/WellLogViewer.tsx index 05de63074..66a6846b3 100644 --- a/python/src/components/WellLogViewer/WellLogViewer.tsx +++ b/python/src/components/WellLogViewer/WellLogViewer.tsx @@ -9,7 +9,6 @@ const WellLogViewerComponent = React.lazy(() => })) ); - // react-docgen / dash-generate-components/extract-meta.js does not properly parse // the imported WellLogViewerProps. Hence, we have to recreate them here. type WellLogViewOptions = { @@ -51,7 +50,7 @@ type WellLogViewerProps = { template: object; /** Prop containing color function/table array */ - colorMapFunctions: any; + colorMapFunctions: unknown; /** Orientation of the track plots on the screen. Default is false */ horizontal?: boolean; @@ -63,7 +62,7 @@ type WellLogViewerProps = { selection?: number[]; /** Well picks data */ - wellpick?: any; + wellpick?: unknown; /** Primary axis id: " md", "tvd", "time"... */ primaryAxis?: string;