Merge branch 'develop' into feature/updated-user-type-dashboard
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"});
|
||||
|
||||
@@ -46,9 +46,6 @@ export default function ExamPage({page}: Props) {
|
||||
const router = useRouter();
|
||||
|
||||
useEffect(() => setSessionId(uuidv4()), []);
|
||||
useEffect(() => {
|
||||
console.log({userSolutions});
|
||||
}, [userSolutions]);
|
||||
|
||||
useEffect(() => {
|
||||
selectedModules.length > 0 && timeSpent === 0 && !showSolutions;
|
||||
|
||||
@@ -21,8 +21,6 @@ export function getServerSideProps({query, res}: {query: {oobCode: string; mode:
|
||||
};
|
||||
}
|
||||
|
||||
console.log(query.continueUrl);
|
||||
|
||||
return {
|
||||
props: {
|
||||
code: query.oobCode,
|
||||
|
||||
Reference in New Issue
Block a user