From a6d2b9cc02c5a76b3b0322f086acf454231c60ea Mon Sep 17 00:00:00 2001 From: PKulkoRaccoonGang Date: Tue, 30 Apr 2024 10:21:37 +0300 Subject: [PATCH] refactor: after review --- src/course-unit/data/utils.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/course-unit/data/utils.js b/src/course-unit/data/utils.js index 852ab57aee..b523b9ace6 100644 --- a/src/course-unit/data/utils.js +++ b/src/course-unit/data/utils.js @@ -72,8 +72,6 @@ export const updateXBlockBlockIdToId = (data) => { if (key === 'children' || key === 'selectablePartitions' || key === 'groups') { updatedData[key] = updateXBlockBlockIdToId(value); - } else if (key === 'blockId') { - updatedData.id = value; } else { // Copy other properties unchanged updatedData[key] = value;