diff --git a/client/src/components/user/UGPTStatShowcase.tsx b/client/src/components/user/UGPTStatShowcase.tsx index 333630e47..696bbcbe9 100644 --- a/client/src/components/user/UGPTStatShowcase.tsx +++ b/client/src/components/user/UGPTStatShowcase.tsx @@ -23,10 +23,10 @@ import { UserDocument, ShowcaseStatDetails, SongDocument, + Playtype, } from "tachi-common"; import { UGPTPreferenceStatsReturn } from "types/api-returns"; import { GamePT, UGPT } from "types/react"; -import { Playtype } from "tachi-common"; import UGPTStatContainer from "./UGPTStatContainer"; import UGPTStatCreator from "./UGPTStatCreator"; @@ -291,11 +291,17 @@ function StatDelta({ colour = "danger"; } + let delta = null; + + // don't bother highlighting grade/lamp deltas, since they're kinda meaningless + if (property === "percent" || property === "score" || property === "playcount") { + delta = ` (${v2 > v1 ? `+${d}` : v2 === v1 ? `±${d}` : d})`; + } + return (