fix: add dynamic output for legacy challenges
Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
This commit is contained in:
committed by
mrugesh
parent
64fcbbb491
commit
9a97d639f5
@@ -179,5 +179,8 @@ export function challengeHasPreview({ challengeType }) {
|
||||
}
|
||||
|
||||
export function isJavaScriptChallenge({ challengeType }) {
|
||||
return challengeType === challengeTypes.js;
|
||||
return (
|
||||
challengeType === challengeTypes.js ||
|
||||
challengeType === challengeTypes.bonfire
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user