From dba6335bfc088ed651548a9d20d5f1db90fde821 Mon Sep 17 00:00:00 2001 From: Edmond Lee Date: Tue, 26 May 2020 11:14:47 -0700 Subject: [PATCH] remove the use of toolcommand from generate-deploy-script --- .../configure/generate-deploy-script-pane.tsx | 17 +---------------- .../src/redux/actions/generate-deploy-script.ts | 2 +- .../client/src/redux/generate-deploy-script.ts | 16 +--------------- tools/webide/packages/client/src/redux/types.ts | 4 ---- 4 files changed, 3 insertions(+), 36 deletions(-) diff --git a/tools/webide/packages/client/src/components/configure/generate-deploy-script-pane.tsx b/tools/webide/packages/client/src/components/configure/generate-deploy-script-pane.tsx index a59ad8226..72017a142 100644 --- a/tools/webide/packages/client/src/components/configure/generate-deploy-script-pane.tsx +++ b/tools/webide/packages/client/src/components/configure/generate-deploy-script-pane.tsx @@ -4,13 +4,12 @@ import styled from 'styled-components'; import { AppState } from '../../redux/app'; import { - ChangeCommandAction, ChangeEntrypointAction, ChangeStorageAction, ChangeToolAction, GenerateDeployScriptState, } from '../../redux/generate-deploy-script'; -import { Tool, ToolCommand } from '../../redux/types'; +import { Tool } from '../../redux/types'; import { AccessFunctionLabel, Group, Input, Label, Textarea } from '../form/inputs'; import { Option, Select } from '../form/select'; @@ -25,10 +24,6 @@ export const GenerateDeployScriptPane = () => { state => state.generateDeployScript.tool ); - const command = useSelector( - state => state.generateDeployScript.command - ); - const entrypoint = useSelector( state => state.generateDeployScript.entrypoint ); @@ -49,16 +44,6 @@ export const GenerateDeployScriptPane = () => { - - - -