mirror of
https://github.com/TheRealOwenRees/echecsfrance.git
synced 2026-11-18 07:22:06 +00:00
auto apply oxfmt rules
This commit is contained in:
@@ -16,12 +16,9 @@ const Legend = () => {
|
||||
|
||||
const timeControls = useMemo(
|
||||
() =>
|
||||
[
|
||||
TimeControl.Classic,
|
||||
TimeControl.Rapid,
|
||||
TimeControl.Blitz,
|
||||
TimeControl.Other,
|
||||
].filter((tc) => tournaments.some((t) => t.timeControl === tc)),
|
||||
[TimeControl.Classic, TimeControl.Rapid, TimeControl.Blitz, TimeControl.Other].filter((tc) =>
|
||||
tournaments.some((t) => t.timeControl === tc),
|
||||
),
|
||||
[tournaments],
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user