Explain to users why the calculator may not be accurate for rapid/blitz games

This commit is contained in:
Timothy Armes
2024-04-29 11:38:31 +02:00
parent 6043f6039e
commit 09ae715e36
5 changed files with 22 additions and 8 deletions
+4 -3
View File
@@ -208,9 +208,9 @@ export default function Elo() {
control={form.control}
placeholder={t("searchTournamentPlaceholder")}
noOptionsMessage={() => t("noTournamentsFound")}
onInformChange={(tournaments) =>
setTournament(tournaments?.[0]?.data ?? null)
}
onInformChange={(tournaments) => {
setTournament(tournaments?.[0]?.data ?? null);
}}
/>
{isFetching && (
@@ -274,6 +274,7 @@ export default function Elo() {
playerId={player}
kFactor={parseInt(kFactor)}
results={allResults?.data ?? []}
tournament={tournament}
/>
)}