diff --git a/web/src/components/AutomationNode/index.tsx b/web/src/components/AutomationEditor/AutomationNode/index.tsx similarity index 100% rename from web/src/components/AutomationNode/index.tsx rename to web/src/components/AutomationEditor/AutomationNode/index.tsx diff --git a/web/src/components/AutomationEditor/ScriptNode.tsx b/web/src/components/AutomationEditor/ScriptNode.tsx index 26172d1..c71002e 100644 --- a/web/src/components/AutomationEditor/ScriptNode.tsx +++ b/web/src/components/AutomationEditor/ScriptNode.tsx @@ -1,7 +1,7 @@ import StateManager from "../../automation/StateManager"; import { AutomationAction } from "../../automation/types"; import { determineNodeTypes, getDescriptionFromAutomationNode } from "../../automation/utils"; -import AutomationNode from "../AutomationNode"; +import AutomationNode from "./AutomationNode"; export interface Props { diff --git a/web/src/components/AutomationEditor/index.tsx b/web/src/components/AutomationEditor/index.tsx index 3c16400..841d0c3 100644 --- a/web/src/components/AutomationEditor/index.tsx +++ b/web/src/components/AutomationEditor/index.tsx @@ -1,7 +1,6 @@ import { useState } from "react"; import * as types from "../../automation/types"; -import { getDescriptionFromAutomationNode } from "../../automation/utils"; -import AutomationNode from "../AutomationNode"; +import AutomationNode from "./AutomationNode"; import NewNodeModal from "./NewNodeModal"; import ScriptNode from "./ScriptNode";