mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(client): order editors like their tabs (#59163)
This commit is contained in:
committed by
GitHub
parent
5e2b19af1b
commit
28b8555ab7
@@ -99,10 +99,11 @@ const MultifileEditor = (props: MultifileEditorProps) => {
|
||||
|
||||
const editorKeys = [];
|
||||
|
||||
// The order of the keys should match the order set by sortChallengeFiles
|
||||
if (indexjsx) editorKeys.push('indexjsx');
|
||||
if (indexhtml) editorKeys.push('indexhtml');
|
||||
if (stylescss) editorKeys.push('stylescss');
|
||||
if (scriptjs) editorKeys.push('scriptjs');
|
||||
if (indexjsx) editorKeys.push('indexjsx');
|
||||
if (mainpy) editorKeys.push('mainpy');
|
||||
if (indexts) editorKeys.push('indexts');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user