From 7b6a97800b7e106c28c5a426a49c9ae943dede43 Mon Sep 17 00:00:00 2001 From: "Darlin Ruben Nina C." Date: Mon, 5 Feb 2024 18:08:14 -0400 Subject: [PATCH] s --- frontend/src/components/Questions.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/Questions.tsx b/frontend/src/components/Questions.tsx index 58dfd32..870dabc 100644 --- a/frontend/src/components/Questions.tsx +++ b/frontend/src/components/Questions.tsx @@ -65,7 +65,7 @@ export const Questions: React.FC = ({ quizId }) => { try { if (!optionSelect || optionSelect.length === 0) { console.error("No hay puntos para asignar"); - return; // Salir de la funciĆ³n si no hay puntos para asignar + return; } const points: number[] = optionSelect.map(q => q.point as number);