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:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user