mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-04-17 16:00:50 -04:00
refactor: remove release code (#57957)
This commit is contained in:
committed by
GitHub
parent
be6736f5df
commit
d68cbdb2c4
@@ -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' : ''}>
|
||||
|
||||
Reference in New Issue
Block a user