From 337ba3491eff2cb4d0d475e1af0d02e20174f71d Mon Sep 17 00:00:00 2001 From: Ari Sosnovsky Date: Thu, 11 Nov 2021 16:22:27 -0500 Subject: [PATCH] moving some stuff --- .../components/{ => AutomationEditor}/AutomationNode/index.tsx | 0 web/src/components/AutomationEditor/ScriptNode.tsx | 2 +- web/src/components/AutomationEditor/index.tsx | 3 +-- 3 files changed, 2 insertions(+), 3 deletions(-) rename web/src/components/{ => AutomationEditor}/AutomationNode/index.tsx (100%) 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";