From 0d7fcb0d9d77b0d50c80dfaaed780dfdc9edf4bd Mon Sep 17 00:00:00 2001 From: Mohamed Khelif Date: Sun, 15 Dec 2024 22:24:13 -0500 Subject: [PATCH] Remove unused params --- .../configurePatchCore/useConfigurePatch/index.ts | 2 -- .../configurePatchCore/useConfigurePatch/state.ts | 1 - 2 files changed, 3 deletions(-) diff --git a/apps/spruce/src/pages/configurePatch/configurePatchCore/useConfigurePatch/index.ts b/apps/spruce/src/pages/configurePatch/configurePatchCore/useConfigurePatch/index.ts index 1907044e4..b8f9b73ab 100644 --- a/apps/spruce/src/pages/configurePatch/configurePatchCore/useConfigurePatch/index.ts +++ b/apps/spruce/src/pages/configurePatch/configurePatchCore/useConfigurePatch/index.ts @@ -17,7 +17,6 @@ interface HookResult extends ConfigurePatchState { setSelectedBuildVariantTasks: (variantTasks: VariantTasksState) => void; setSelectedAliases: (aliases: AliasState) => void; setSelectedTab: (tab: ConfigurePatchPageTabs) => void; - tabIndex: number; } const useConfigurePatch = (patch: ConfigurePatchQuery["patch"]): HookResult => { @@ -92,7 +91,6 @@ const useConfigurePatch = (patch: ConfigurePatchQuery["patch"]): HookResult => { return { ...state, - tabIndex: tabToIndexMap[state.selectedTab], setDescription, setPatchParams, setSelectedAliases, diff --git a/apps/spruce/src/pages/configurePatch/configurePatchCore/useConfigurePatch/state.ts b/apps/spruce/src/pages/configurePatch/configurePatchCore/useConfigurePatch/state.ts index 5ae64638c..5d09c56d5 100644 --- a/apps/spruce/src/pages/configurePatch/configurePatchCore/useConfigurePatch/state.ts +++ b/apps/spruce/src/pages/configurePatch/configurePatchCore/useConfigurePatch/state.ts @@ -10,7 +10,6 @@ type ConfigurePatchState = { selectedBuildVariantTasks: VariantTasksState; patchParams: ParameterInput[]; selectedTab: ConfigurePatchPageTabs; - selectedTabName?: ConfigurePatchPageTabs; disableBuildVariantSelect: boolean; };