diff --git a/frontend/src/framework/UniDirectionalModuleComponentsInterface.ts b/frontend/src/framework/UniDirectionalModuleComponentsInterface.ts index 4fc75582b..ce1c3f410 100644 --- a/frontend/src/framework/UniDirectionalModuleComponentsInterface.ts +++ b/frontend/src/framework/UniDirectionalModuleComponentsInterface.ts @@ -1,4 +1,4 @@ -import { Atom, Getter, PrimitiveAtom, atom, useAtom, useAtomValue } from "jotai"; +import { Atom, Getter, atom, useAtomValue } from "jotai"; export type InterfaceBaseType = Record; export type InterfaceInitialization = { diff --git a/frontend/src/modules/MyModule2/settings.tsx b/frontend/src/modules/MyModule2/settings.tsx index 03e0548fb..dbd90340a 100644 --- a/frontend/src/modules/MyModule2/settings.tsx +++ b/frontend/src/modules/MyModule2/settings.tsx @@ -1,15 +1,13 @@ import React from "react"; -import { ModuleSettingsProps } from "@framework/Module"; import { Input } from "@lib/components/Input"; import { Label } from "@lib/components/Label"; import { useAtom } from "jotai"; import { textAtom } from "./atoms"; -import { SettingsToViewInterface, State } from "./state"; -export const Settings = (props: ModuleSettingsProps) => { +export const Settings = () => { const [atomText, setAtomText] = useAtom(textAtom); function handleAtomTextChange(event: React.ChangeEvent) { diff --git a/frontend/src/modules/Pvt/settings/settings.tsx b/frontend/src/modules/Pvt/settings/settings.tsx index 559a695b5..9bf651910 100644 --- a/frontend/src/modules/Pvt/settings/settings.tsx +++ b/frontend/src/modules/Pvt/settings/settings.tsx @@ -40,7 +40,7 @@ import { } from "../typesAndEnums"; import { computeRealizationsIntersection } from "../utils/realizationsIntersection"; -export function Settings({ settingsContext, workbenchSession }: ModuleSettingsProps) { +export function Settings({ workbenchSession }: ModuleSettingsProps) { const ensembleSet = useEnsembleSet(workbenchSession); const filterEnsembleRealizationsFunc = useEnsembleRealizationFilterFunc(workbenchSession);