Skip to content

Commit

Permalink
Ya se puede volver a filtrar por puntos de media
Browse files Browse the repository at this point in the history
  • Loading branch information
iyanfdezz committed Mar 21, 2024
1 parent 2772b56 commit 436b27c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions webapp/src/pages/Ranking/Ranking.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ const Ranking = () => {
{ value: "avgPoints", label: "Puntos promedio" },
{ value: "totalPoints", label: "Puntos totales" },
{ value: "ratioCorrect", label: "Ratio de aciertos" },
{ value: "avgTime", label: "Tiempo por pregunta (s)" }
{ value: "avgTime", label: "Tiempo por pregunta (s)" },
{ value: "avgPoints", label: "Reestablecer por defecto" }
]);
const [isLoading, setIsLoading] = useState(true);
const [error, setError] = useState(null);
Expand Down Expand Up @@ -57,7 +58,7 @@ const Ranking = () => {
return "Puntos totales";
case "ratioCorrect":
return "Ratio de aciertos (%)";
case "avgTime":
case "avgTime":
return "Tiempo por pregunta (s)";
default:
return "";
Expand Down

0 comments on commit 436b27c

Please sign in to comment.