clean code

This commit is contained in:
an-lee
2024-12-07 12:55:51 +08:00
parent dbfe3523a5
commit cdc4083d24

View File

@@ -239,8 +239,6 @@ export const VocabularyPronunciationAssessment = (props: { word: string }) => {
};
const onRecorded = async (blob: Blob) => {
console.log(blob);
if (!blob) return;
let recording: RecordingType;
@@ -283,7 +281,6 @@ export const VocabularyPronunciationAssessment = (props: { word: string }) => {
useEffect(() => {
if (recording) {
console.log(recording);
audio.current = new Audio(recording.src);
}