From f8adee627ddb81ab907f3f5fd2f1631bad58d82c Mon Sep 17 00:00:00 2001 From: Kalle <38327916+Sendouc@users.noreply.github.com> Date: Thu, 9 May 2024 13:24:16 +0300 Subject: [PATCH] Link to all tiers page from seasons page --- app/features/user-page/routes/u.$identifier.seasons.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/features/user-page/routes/u.$identifier.seasons.tsx b/app/features/user-page/routes/u.$identifier.seasons.tsx index 68831ea73..f295843fb 100644 --- a/app/features/user-page/routes/u.$identifier.seasons.tsx +++ b/app/features/user-page/routes/u.$identifier.seasons.tsx @@ -55,7 +55,7 @@ import { atOrError } from "~/utils/arrays"; import { databaseTimestampToDate } from "~/utils/dates"; import { cutToNDecimalPlaces, roundToNDecimalPlaces } from "~/utils/number"; import { type SendouRouteHandle, notFoundIfFalsy } from "~/utils/remix"; -import { sendouQMatchPage, userSeasonsPage } from "~/utils/urls"; +import { TIERS_PAGE, sendouQMatchPage, userSeasonsPage } from "~/utils/urls"; import { type UserPageLoaderData } from "./u.$identifier"; import * as UserRepository from "~/features/user-page/UserRepository.server"; import { ordinalToSp } from "~/features/mmr/mmr-utils"; @@ -310,10 +310,10 @@ function Rank({ currentOrdinal }: { currentOrdinal: number }) {
-
+ {data.tier.name} {data.tier.isPlus ? "+" : ""} -
+ {!data.isAccurateTiers ? (
{t("user:seasons.tentative")}