Removed unused console.logs
This commit is contained in:
@@ -103,7 +103,6 @@ export default function InteractiveSpeaking({
|
|||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (userSolutions.length > 0 && answers.length === 0) {
|
if (userSolutions.length > 0 && answers.length === 0) {
|
||||||
console.log(userSolutions);
|
|
||||||
const solutions = userSolutions as unknown as typeof answers;
|
const solutions = userSolutions as unknown as typeof answers;
|
||||||
setAnswers(solutions);
|
setAnswers(solutions);
|
||||||
|
|
||||||
@@ -112,10 +111,6 @@ export default function InteractiveSpeaking({
|
|||||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||||
}, [userSolutions, mediaBlob, answers]);
|
}, [userSolutions, mediaBlob, answers]);
|
||||||
|
|
||||||
useEffect(() => {
|
|
||||||
console.log({answers});
|
|
||||||
}, [answers]);
|
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (updateIndex) updateIndex(questionIndex);
|
if (updateIndex) updateIndex(questionIndex);
|
||||||
}, [questionIndex, updateIndex]);
|
}, [questionIndex, updateIndex]);
|
||||||
|
|||||||
@@ -79,8 +79,6 @@ export default function Sidebar({path, navDisabled = false, focusMode = false, u
|
|||||||
|
|
||||||
const {totalAssignedTickets} = useTicketsListener(userId);
|
const {totalAssignedTickets} = useTicketsListener(userId);
|
||||||
|
|
||||||
useEffect(() => console.log(totalAssignedTickets), [totalAssignedTickets]);
|
|
||||||
|
|
||||||
const logout = async () => {
|
const logout = async () => {
|
||||||
axios.post("/api/logout").finally(() => {
|
axios.post("/api/logout").finally(() => {
|
||||||
setTimeout(() => router.reload(), 500);
|
setTimeout(() => router.reload(), 500);
|
||||||
|
|||||||
@@ -79,8 +79,6 @@ const PartTab = ({
|
|||||||
.finally(() => setIsLoading(false));
|
.finally(() => setIsLoading(false));
|
||||||
};
|
};
|
||||||
|
|
||||||
useEffect(() => console.log(part), [part]);
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Tab.Panel className="w-full bg-ielts-speaking/20 min-h-[600px] h-full rounded-xl p-6 flex flex-col gap-4">
|
<Tab.Panel className="w-full bg-ielts-speaking/20 min-h-[600px] h-full rounded-xl p-6 flex flex-col gap-4">
|
||||||
<div className="flex flex-col gap-3 w-full">
|
<div className="flex flex-col gap-3 w-full">
|
||||||
|
|||||||
Reference in New Issue
Block a user