import { FC, ReactElement, useMemo } from 'react'; import CommonUpsInputGroup from './CommonUpsInputGroup'; import Spinner from '../Spinner'; const EditUpsInputGroup: FC = ({ loading: isExternalLoading, previous, upsUUID, }) => { const content = useMemo( () => isExternalLoading ? ( ) : ( <> ), [isExternalLoading, previous, upsUUID], ); return content; }; export default EditUpsInputGroup;