Fix assessment result not showing after create in course (#807)

* upgrade deps

* fix assessment not display after create in course
This commit is contained in:
an-lee
2024-07-15 14:25:03 +08:00
committed by GitHub
parent 8ea0667f53
commit c21f33af22
3 changed files with 56 additions and 49 deletions

View File

@@ -57,7 +57,7 @@ export const MediaRecordings = () => {
useEffect(() => {
setCurrentRecording(recordings[0]);
}, [currentSegmentIndex, recordings?.[0]?.id]);
}, [currentSegmentIndex, recordings]);
return (
<div ref={containerRef} data-testid="media-recordings-result">