Skip to content

Commit

Permalink
fixup! front: update nge state
Browse files Browse the repository at this point in the history
  • Loading branch information
SharglutDev committed Feb 13, 2025
1 parent 9195b9a commit a558811
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -393,8 +393,8 @@ const handleTrainrunOperation = async ({
body: { ids: [editoastTrainScheduleIdToDelete] },
})
).unwrap();
state.trainScheduleIdByNgeId.delete(trainrunId);
addDeletedTrainIds([state.trainScheduleIdByNgeId.get(trainrunId)!]);
state.trainScheduleIdByNgeId.delete(trainrunId);
break;
}
case 'update': {
Expand Down

0 comments on commit a558811

Please sign in to comment.