Merge branch 'develop' into bug-fixing-19-MAR
This commit is contained in:
@@ -79,8 +79,6 @@ const PartTab = ({
|
||||
.finally(() => setIsLoading(false));
|
||||
};
|
||||
|
||||
useEffect(() => console.log(part), [part]);
|
||||
|
||||
return (
|
||||
<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">
|
||||
|
||||
@@ -53,7 +53,7 @@ async function handler(req: NextApiRequest, res: NextApiResponse) {
|
||||
{
|
||||
solutions,
|
||||
score: {
|
||||
correct: speakingReverseMarking[backendRequest.data.overall],
|
||||
correct: speakingReverseMarking[backendRequest.data.overall || 0] || 0,
|
||||
missing: 0,
|
||||
total: 100,
|
||||
},
|
||||
|
||||
@@ -48,7 +48,7 @@ async function handler(req: NextApiRequest, res: NextApiResponse) {
|
||||
{
|
||||
solutions,
|
||||
score: {
|
||||
correct: speakingReverseMarking[backendRequest.data.overall],
|
||||
correct: speakingReverseMarking[backendRequest.data.overall || 0] || 0,
|
||||
total: 100,
|
||||
missing: 0,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user