mirror of
https://github.com/TheRealOwenRees/echecsfrance.git
synced 2026-07-23 04:26:57 +00:00
Explain to users why the calculator may not be accurate for rapid/blitz games
This commit is contained in:
@@ -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}
|
||||
/>
|
||||
)}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user