From 0ca23bb84022dcd4507d3602eb841debeea22aba Mon Sep 17 00:00:00 2001 From: StyleZhang Date: Fri, 1 Mar 2024 18:20:32 +0800 Subject: [PATCH] features --- web/app/components/workflow/store.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/web/app/components/workflow/store.ts b/web/app/components/workflow/store.ts index b2275e0816..bb71277764 100644 --- a/web/app/components/workflow/store.ts +++ b/web/app/components/workflow/store.ts @@ -4,14 +4,12 @@ type State = { mode: string showRunHistory: boolean showFeaturesPanel: boolean - showFeaturesModal: boolean runStaus: string } type Action = { setShowRunHistory: (showRunHistory: boolean) => void setShowFeaturesPanel: (showFeaturesPanel: boolean) => void - setShowFeaturesModal: (showFeaturesModal: boolean) => void setRunStaus: (runStaus: string) => void } @@ -21,8 +19,6 @@ export const useStore = create(set => ({ setShowRunHistory: showRunHistory => set(() => ({ showRunHistory })), showFeaturesPanel: false, setShowFeaturesPanel: showFeaturesPanel => set(() => ({ showFeaturesPanel })), - showFeaturesModal: false, - setShowFeaturesModal: showFeaturesModal => set(() => ({ showFeaturesModal })), runStaus: '', setRunStaus: runStaus => set(() => ({ runStaus })), }))