diff --git a/frontend/src/component/feature/FeatureView/FeatureView.tsx b/frontend/src/component/feature/FeatureView/FeatureView.tsx index f4b56b799c..0aa7b9d1bb 100644 --- a/frontend/src/component/feature/FeatureView/FeatureView.tsx +++ b/frontend/src/component/feature/FeatureView/FeatureView.tsx @@ -43,7 +43,7 @@ export const FeatureView = () => { const { refetch: projectRefetch } = useProject(projectId); const { favorite, unfavorite } = useFavoriteFeaturesApi(); const { refetchFeature } = useFeature(projectId, featureId); - const { isChangeRequestConfiguredInAnyEnv } = + const { isChangeRequestConfiguredInAnyEnv, isChangeRequestFlagEnabled } = useChangeRequestsEnabled(projectId); const { uiConfig } = useUiConfig(); @@ -103,6 +103,7 @@ export const FeatureView = () => { ) : null diff --git a/frontend/src/component/project/Project/Project.tsx b/frontend/src/component/project/Project/Project.tsx index 35606e475a..86e472cac1 100644 --- a/frontend/src/component/project/Project/Project.tsx +++ b/frontend/src/component/project/Project/Project.tsx @@ -172,6 +172,7 @@ const Project = () => { ) : null