diff --git a/frontend/src/component/strategies/CreateStrategy/CreateStrategy.tsx b/frontend/src/component/strategies/CreateStrategy/CreateStrategy.tsx index fb2cba5c21..7a15626df5 100644 --- a/frontend/src/component/strategies/CreateStrategy/CreateStrategy.tsx +++ b/frontend/src/component/strategies/CreateStrategy/CreateStrategy.tsx @@ -1,4 +1,4 @@ -import { useNavigate, Link } from 'react-router-dom'; +import { useNavigate } from 'react-router-dom'; import useUiConfig from 'hooks/api/getters/useUiConfig/useUiConfig'; import useToast from 'hooks/useToast'; import FormTemplate from 'component/common/FormTemplate/FormTemplate'; @@ -11,25 +11,6 @@ import { formatUnknownError } from 'utils/formatUnknownError'; import { CreateButton } from 'component/common/CreateButton/CreateButton'; import { GO_BACK } from 'constants/navigate'; import { CustomStrategyInfo } from '../CustomStrategyInfo/CustomStrategyInfo.tsx'; -import { Alert } from '@mui/material'; - -const CreateStrategyDeprecationWarning = () => ( - ({ - marginBottom: theme.spacing(3), - })} - > - Custom strategies are deprecated and may be removed in a future major - release. We recommend using the predefined strategies like Gradual - rollout with{' '} - - {' '} - constraints - {' '} - instead of creating a custom strategy. - -); export const CreateStrategy = () => { const { setToastData, setToastApiError } = useToast(); @@ -94,7 +75,6 @@ export const CreateStrategy = () => { documentationLinkLabel='Custom strategies documentation' formatApiCode={formatApiCode} > - ); -const StrategyDeprecationWarning = () => ( - - Custom strategies are deprecated and may be removed in a future major - version. We recommend not using custom strategies going forward and - instead using the gradual rollout strategy with{' '} - - constraints - - . If you have a need for custom strategies that you cannot support with - constraints, please reach out to us. - -); - const RecommendationAlert = () => ( We recommend using gradual rollout. You can customize it with{' '} @@ -550,7 +531,6 @@ export const StrategiesList = () => { Custom strategies -