diff --git a/client/package.json b/client/package.json index 67a199d56..e74cd4dc3 100644 --- a/client/package.json +++ b/client/package.json @@ -1,6 +1,6 @@ { "name": "tachi-client", - "version": "2.0.5", + "version": "2.0.6", "private": true, "scripts": { "start": "node scripts/start.js -o", diff --git a/client/src/app/pages/dashboard/users/games/_game/_playtype/OverviewPage.tsx b/client/src/app/pages/dashboard/users/games/_game/_playtype/OverviewPage.tsx index 410f0fd07..7d31186d4 100644 --- a/client/src/app/pages/dashboard/users/games/_game/_playtype/OverviewPage.tsx +++ b/client/src/app/pages/dashboard/users/games/_game/_playtype/OverviewPage.tsx @@ -303,8 +303,8 @@ function UserHistory({ } else if (mode === "ranking") { return ( <> - #{data[0].rankings[rating].ranking} - /{data[0].rankings[rating].outOf} + #{data[0].rankings[rating]?.ranking ?? "ERR!"} + /{data[0].rankings[rating]?.outOf ?? "ERR!"} ); } diff --git a/client/src/util/constants/version.ts b/client/src/util/constants/version.ts index 65f528e26..1b68ba547 100644 --- a/client/src/util/constants/version.ts +++ b/client/src/util/constants/version.ts @@ -1,6 +1,6 @@ const MAJOR = 2; const MINOR = 0; -const PATCH = 5; +const PATCH = 6; // As is with all front-facing zkldi projects, the version names for tachi-client // are from an album I like. In this case, the album is The Cure - Disintegration.