Removed the console.log calls
This commit is contained in:
@@ -24,8 +24,6 @@ export default function FillBlanksSolutions({id, type, prompt, solutions, text,
|
||||
const userSolution = userSolutions.find((x) => x.id === id);
|
||||
const solution = solutions.find((x) => x.id === id)!;
|
||||
|
||||
console.log(id, match);
|
||||
|
||||
if (!userSolution) {
|
||||
return (
|
||||
<button
|
||||
|
||||
@@ -13,8 +13,6 @@ export default function Speaking({id, type, title, video_url, text, prompts, use
|
||||
const [solutionURL, setSolutionURL] = useState<string>();
|
||||
|
||||
useEffect(() => {
|
||||
console.log(userSolutions);
|
||||
|
||||
if (userSolutions && userSolutions.length > 0) {
|
||||
axios.post(`/api/speaking`, {path: userSolutions[0].solution}, {responseType: "arraybuffer"}).then(({data}) => {
|
||||
const blob = new Blob([data], {type: "audio/wav"});
|
||||
|
||||
Reference in New Issue
Block a user