From 554528ace09191118cb0ef27134a8182090224b0 Mon Sep 17 00:00:00 2001 From: Ari Date: Fri, 20 May 2022 10:56:06 -0400 Subject: [PATCH] fixed yarn build --- .../src/components/NodeEditor/OptionManager/ActionChoose.tsx | 3 +-- .../src/components/NodeEditor/OptionManager/ActionRepeat.tsx | 1 - .../src/components/NodeEditor/OptionManager/ActionService.tsx | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/webapp/src/components/NodeEditor/OptionManager/ActionChoose.tsx b/webapp/src/components/NodeEditor/OptionManager/ActionChoose.tsx index 2219db6..e55d511 100644 --- a/webapp/src/components/NodeEditor/OptionManager/ActionChoose.tsx +++ b/webapp/src/components/NodeEditor/OptionManager/ActionChoose.tsx @@ -1,6 +1,5 @@ -import InputText from "components/Inputs/InputText"; import { ChooseAction } from "types/automations/actions"; -import { OptionManager, updateActionData } from './OptionManager'; +import { OptionManager } from './OptionManager'; export const ActionChooseState: OptionManager = { diff --git a/webapp/src/components/NodeEditor/OptionManager/ActionRepeat.tsx b/webapp/src/components/NodeEditor/OptionManager/ActionRepeat.tsx index f2114b7..dd38eb1 100644 --- a/webapp/src/components/NodeEditor/OptionManager/ActionRepeat.tsx +++ b/webapp/src/components/NodeEditor/OptionManager/ActionRepeat.tsx @@ -1,5 +1,4 @@ import InputNumber from "components/Inputs/InputNumber"; -import InputText from "components/Inputs/InputText"; import InputYaml from "components/Inputs/InputYaml"; import { RepeatAction } from "types/automations/actions"; import { OptionManager, updateActionData } from './OptionManager'; diff --git a/webapp/src/components/NodeEditor/OptionManager/ActionService.tsx b/webapp/src/components/NodeEditor/OptionManager/ActionService.tsx index 2f40671..99840f6 100644 --- a/webapp/src/components/NodeEditor/OptionManager/ActionService.tsx +++ b/webapp/src/components/NodeEditor/OptionManager/ActionService.tsx @@ -18,7 +18,7 @@ export const ActionCallServiceState: OptionManager = { target !== '' ), renderOptionList: (state, setState) => { - const { service, alias = "", target } = state; + const { service, target } = state; const update = updateActionData(state, setState); return <>