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; };