import { FC } from 'react'; import { Box } from '@mui/material'; import { SuggestedFeatureToggleChange } from '../SuggestedChangeOverview/SuggestedFeatureToggleChange/SuggestedFeatureToggleChange'; import { objectId } from 'utils/objectId'; import { ConditionallyRender } from 'component/common/ConditionallyRender/ConditionallyRender'; import { ToggleStatusChange } from '../SuggestedChangeOverview/SuggestedFeatureToggleChange/ToggleStatusChange'; import { StrategyAddedChange, StrategyDeletedChange, StrategyEditedChange, } from '../SuggestedChangeOverview/SuggestedFeatureToggleChange/StrategyChange'; import { formatStrategyName, GetFeatureStrategyIcon, } from 'utils/strategyNames'; export const SuggestedChangeset: FC<{ suggestedChange: any }> = ({ suggestedChange, }) => { return ( Changes {suggestedChange.changes?.map((featureToggleChange: any) => ( {featureToggleChange.changeSet.map((change: any) => ( } /> {formatStrategyName( change.payload.name )} } /> } /> } /> ))} ))} ); };