Fixed error with update part
This commit is contained in:
@@ -93,6 +93,8 @@ const PartTab = ({
|
||||
const updatedPart = { ...part, exercises } as ReadingPart;
|
||||
return updatedPart;
|
||||
}
|
||||
|
||||
return part;
|
||||
})
|
||||
}
|
||||
/>
|
||||
@@ -115,6 +117,8 @@ const PartTab = ({
|
||||
),
|
||||
} as ReadingPart;
|
||||
}
|
||||
|
||||
return part;
|
||||
});
|
||||
}}
|
||||
/>
|
||||
@@ -137,6 +141,8 @@ const PartTab = ({
|
||||
),
|
||||
} as ReadingPart;
|
||||
}
|
||||
|
||||
return part;
|
||||
});
|
||||
}}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user