diff --git a/striker-ui/components/ManageUps/EditUpsInputGroup.tsx b/striker-ui/components/ManageUps/EditUpsInputGroup.tsx index a9ab02f7..963b89d9 100644 --- a/striker-ui/components/ManageUps/EditUpsInputGroup.tsx +++ b/striker-ui/components/ManageUps/EditUpsInputGroup.tsx @@ -1,11 +1,14 @@ import { FC, ReactElement, useMemo } from 'react'; -import CommonUpsInputGroup from './CommonUpsInputGroup'; +import AddUpsInputGroup from './AddUpsInputGroup'; import Spinner from '../Spinner'; +const INPUT_ID_UPS_UUID = 'edit-ups-input-ups-uuid'; + const EditUpsInputGroup: FC = ({ loading: isExternalLoading, previous, + upsTemplate, upsUUID, }) => { const content = useMemo( @@ -14,14 +17,16 @@ const EditUpsInputGroup: FC = ({ ) : ( <> - - + + ), - [isExternalLoading, previous, upsUUID], + [isExternalLoading, previous, upsTemplate, upsUUID], ); return content; }; +export { INPUT_ID_UPS_UUID }; + export default EditUpsInputGroup; diff --git a/striker-ui/types/EditUpsInputGroup.d.ts b/striker-ui/types/EditUpsInputGroup.d.ts index 610b4ed8..ebff2166 100644 --- a/striker-ui/types/EditUpsInputGroup.d.ts +++ b/striker-ui/types/EditUpsInputGroup.d.ts @@ -3,4 +3,6 @@ type EditUpsInputGroupOptionalProps = { }; type EditUpsInputGroupProps = EditUpsInputGroupOptionalProps & - Pick & { upsUUID: string }; + Pick & { + upsUUID: string; + };