fix(client): order editors like their tabs (#59163)

This commit is contained in:
Oliver Eyton-Williams
2025-03-07 12:15:56 +01:00
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');