diff --git a/packages/orchestrator-ui-components/src/components/WfoSubscription/overrides/useSubscriptionDetailValueOverride.ts b/packages/orchestrator-ui-components/src/components/WfoSubscription/overrides/useSubscriptionDetailValueOverride.ts index 5e7346478..14fa844be 100644 --- a/packages/orchestrator-ui-components/src/components/WfoSubscription/overrides/useSubscriptionDetailValueOverride.ts +++ b/packages/orchestrator-ui-components/src/components/WfoSubscription/overrides/useSubscriptionDetailValueOverride.ts @@ -1,10 +1,9 @@ -import React, { ReactNode } from 'react'; +import React from 'react'; +import { ValueOverrideFunction } from '@/rtk'; import { useAppSelector } from '@/rtk/hooks'; import { FieldValue } from '@/types'; -export type ValueOverrideFunction = (fieldValue: FieldValue) => ReactNode; - export const useSubscriptionDetailValueOverride = () => { const valueOverrideConfiguration = useAppSelector( (state) => diff --git a/packages/orchestrator-ui-components/src/rtk/slices/orchestratorComponentOverride.ts b/packages/orchestrator-ui-components/src/rtk/slices/orchestratorComponentOverride.ts index 44a024f6e..4506c47cc 100644 --- a/packages/orchestrator-ui-components/src/rtk/slices/orchestratorComponentOverride.ts +++ b/packages/orchestrator-ui-components/src/rtk/slices/orchestratorComponentOverride.ts @@ -1,7 +1,10 @@ +import { ReactNode } from 'react'; + import { Slice, createSlice } from '@reduxjs/toolkit'; -import { ValueOverrideFunction } from '@/components/WfoSubscription/overrides/useSubscriptionDetailValueOverride'; +import { FieldValue } from '@/types'; +export type ValueOverrideFunction = (fieldValue: FieldValue) => ReactNode; export type ValueOverrideConfiguration = Record; export type OrchestratorComponentOverride = {