From 5ab50ac2f5e77cdac1c6452e0436b77908bd2e2f Mon Sep 17 00:00:00 2001 From: Kalle <38327916+Sendouc@users.noreply.github.com> Date: Sat, 27 Jun 2026 10:24:40 +0300 Subject: [PATCH] Tier list maker make "No duplicates" the default --- app/features/tier-list-maker/components/TierRow.module.css | 1 - app/features/tier-list-maker/hooks/useTierList.ts | 2 +- app/features/tier-list-maker/routes/tier-list-maker.tsx | 6 +++--- locales/da/tier-list-maker.json | 2 +- locales/de/tier-list-maker.json | 2 +- locales/en/tier-list-maker.json | 2 +- locales/es-ES/tier-list-maker.json | 2 +- locales/es-US/tier-list-maker.json | 2 +- locales/fr-CA/tier-list-maker.json | 2 +- locales/fr-EU/tier-list-maker.json | 2 +- locales/he/tier-list-maker.json | 2 +- locales/it/tier-list-maker.json | 2 +- locales/ja/tier-list-maker.json | 2 +- locales/ko/tier-list-maker.json | 2 +- locales/nl/tier-list-maker.json | 2 +- locales/pl/tier-list-maker.json | 2 +- locales/pt-BR/tier-list-maker.json | 2 +- locales/ru/tier-list-maker.json | 2 +- locales/zh/tier-list-maker.json | 2 +- 19 files changed, 20 insertions(+), 21 deletions(-) diff --git a/app/features/tier-list-maker/components/TierRow.module.css b/app/features/tier-list-maker/components/TierRow.module.css index ea99a1d72..b65ebfb67 100644 --- a/app/features/tier-list-maker/components/TierRow.module.css +++ b/app/features/tier-list-maker/components/TierRow.module.css @@ -70,7 +70,6 @@ cursor: pointer; } - .targetZoneSelectable:hover { background-color: var(--color-bg-higher); } diff --git a/app/features/tier-list-maker/hooks/useTierList.ts b/app/features/tier-list-maker/hooks/useTierList.ts index 3e95b20d9..4db4dcaa9 100644 --- a/app/features/tier-list-maker/hooks/useTierList.ts +++ b/app/features/tier-list-maker/hooks/useTierList.ts @@ -74,7 +74,7 @@ export function useTierList() { const [canAddDuplicates, setCanAddDuplicates] = useSearchParamState({ name: "canAddDuplicates", - defaultValue: true, + defaultValue: false, revive: (value) => value === "true", }); diff --git a/app/features/tier-list-maker/routes/tier-list-maker.tsx b/app/features/tier-list-maker/routes/tier-list-maker.tsx index 29586a05a..47665f5cb 100644 --- a/app/features/tier-list-maker/routes/tier-list-maker.tsx +++ b/app/features/tier-list-maker/routes/tier-list-maker.tsx @@ -227,10 +227,10 @@ function TierListMakerContent() { ))} setCanAddDuplicates(!value)} > - {t("tier-list-maker:allowDuplicates")} + {t("tier-list-maker:noDuplicates")}