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