From 22985d6a7198d112e5b09489da7ab0acedaa319f Mon Sep 17 00:00:00 2001 From: zkldi <20380519+zkldi@users.noreply.github.com> Date: Fri, 10 Dec 2021 01:03:36 +0000 Subject: [PATCH] Fix bug where 0 would be rendered in some circumstances for classInfo --- .../app/pages/dashboard/games/_game/_playtype/GPTMainPage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/app/pages/dashboard/games/_game/_playtype/GPTMainPage.tsx b/client/src/app/pages/dashboard/games/_game/_playtype/GPTMainPage.tsx index 65cdf653b..e0a9d8cef 100644 --- a/client/src/app/pages/dashboard/games/_game/_playtype/GPTMainPage.tsx +++ b/client/src/app/pages/dashboard/games/_game/_playtype/GPTMainPage.tsx @@ -175,7 +175,7 @@ function AchievedClassRow({ playtype={playtype} classValue={classInfo.classValue} /> - {classInfo.classOldValue && ( + {classInfo.classOldValue !== null && ( <> {" "} (Raised from{" "}