diff --git a/client/src/redux/prop-types.ts b/client/src/redux/prop-types.ts index c965096e151..7a5969f0c52 100644 --- a/client/src/redux/prop-types.ts +++ b/client/src/redux/prop-types.ts @@ -364,6 +364,7 @@ export type SavedChallengeFile = { ext: Ext; name: string; history?: string[]; + editableRegionBoundaries?: number[]; contents: string; }; diff --git a/client/src/templates/Challenges/classic/saved-challenges.ts b/client/src/templates/Challenges/classic/saved-challenges.ts index ed8c03d3f54..9f0c0042515 100644 --- a/client/src/templates/Challenges/classic/saved-challenges.ts +++ b/client/src/templates/Challenges/classic/saved-challenges.ts @@ -23,6 +23,8 @@ export function mergeChallengeFiles( return sortedChallengeFiles.map((file, index) => ({ ...file, - contents: sortedSavedChallengeFiles[index].contents + contents: sortedSavedChallengeFiles[index].contents, + editableRegionBoundaries: + sortedSavedChallengeFiles[index].editableRegionBoundaries })); }