Merge branch 'develop' into bug-fixing-19-MAR

This commit is contained in:
Tiago Ribeiro
2024-03-22 11:15:30 +00:00
6 changed files with 3 additions and 12 deletions

View File

@@ -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">

View File

@@ -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,
},

View File

@@ -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,
},