Skip to content

Commit

Permalink
refactor: after review
Browse files Browse the repository at this point in the history
  • Loading branch information
PKulkoRaccoonGang committed Apr 30, 2024
1 parent b698843 commit a6d2b9c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/course-unit/data/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a6d2b9c

Please sign in to comment.