diff --git a/frontend/src/component/changeRequest/ChangeRequest/Changes/Change/StrategyChange.tsx b/frontend/src/component/changeRequest/ChangeRequest/Changes/Change/StrategyChange.tsx
index d4de91f98d..fb83006209 100644
--- a/frontend/src/component/changeRequest/ChangeRequest/Changes/Change/StrategyChange.tsx
+++ b/frontend/src/component/changeRequest/ChangeRequest/Changes/Change/StrategyChange.tsx
@@ -20,7 +20,12 @@ import type { IFeatureStrategy } from 'interfaces/strategy';
import { Tab, TabList, TabPanel, Tabs } from './ChangeTabComponents.tsx';
import { ChangeStrategyName } from './ChangeStrategyName.tsx';
import { StrategyDiff } from './StrategyDiff.tsx';
-import { ChangeItemInfo } from './Change.styles.tsx';
+import {
+ Action,
+ AddedStrategy,
+ ChangeItemInfo,
+ Deleted,
+} from './Change.styles.tsx';
const ChangeItemCreateEditDeleteWrapper = styled(Box)(({ theme }) => ({
display: 'flex',
@@ -84,30 +89,18 @@ const EditHeader: FC<{
willBeDisabled?: boolean;
}> = ({ wasDisabled = false, willBeDisabled = false }) => {
if (wasDisabled && willBeDisabled) {
- return (
-
- Editing strategy
-
- );
+ return Editing strategy;
}
if (!wasDisabled && willBeDisabled) {
- return (
-
- Editing strategy
-
- );
+ return Editing strategy;
}
if (wasDisabled && !willBeDisabled) {
- return (
-
- Editing strategy
-
- );
+ return Editing strategy;
}
- return Editing strategy;
+ return Editing strategy;
};
const hasDiff = (object: unknown, objectToCompare: unknown) =>
@@ -136,14 +129,7 @@ const DeleteStrategy: FC<{
<>
- ({
- color: theme.palette.error.main,
- })}
- >
- - Deleting strategy
-
+ Deleting strategy
{actions}
@@ -267,16 +253,9 @@ const AddStrategy: FC<{
<>
-
- + Adding strategy
- {' '}
+
+ Adding strategy
+