refactor: remove release code (#57957)

This commit is contained in:
Oliver Eyton-Williams
2025-01-06 17:44:57 +01:00
committed by GitHub
parent be6736f5df
commit d68cbdb2c4
16 changed files with 35 additions and 177 deletions

View File

@@ -3,7 +3,6 @@ import { useTranslation } from 'react-i18next';
import { connect } from 'react-redux';
import { createSelector } from 'reselect';
import { Spacer } from '@freecodecamp/ui';
import { useFeature } from '@growthbook/growthbook-react';
import {
type SuperBlocks,
@@ -139,7 +138,6 @@ function Map({
allChallenges
}: MapProps): React.ReactElement {
const { t } = useTranslation();
const showNextCurriculum = useFeature('fcc-10').on;
const allSuperblockChallengesCompleted = (superblock: SuperBlocks) => {
// array of all challenge ID's in the superblock
@@ -168,8 +166,7 @@ function Map({
<div className='map-ui' data-test-label='curriculum-map'>
{getStageOrder({
showNewCurriculum,
showUpcomingChanges,
showNextCurriculum
showUpcomingChanges
}).map(stage => (
<Fragment key={stage}>
<h2 className={forLanding ? 'big-heading' : ''}>