From 5e36b835c58cfeb9884ec434e042deba9c0aff97 Mon Sep 17 00:00:00 2001 From: zkldi <20380519+zkldi@users.noreply.github.com> Date: Fri, 29 Apr 2022 02:05:10 +0100 Subject: [PATCH] fix: render tables properly in usc diff cells --- client/src/components/tables/cells/USCDifficultyCell.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/components/tables/cells/USCDifficultyCell.tsx b/client/src/components/tables/cells/USCDifficultyCell.tsx index 589c1fcc3..68344818d 100644 --- a/client/src/components/tables/cells/USCDifficultyCell.tsx +++ b/client/src/components/tables/cells/USCDifficultyCell.tsx @@ -11,7 +11,7 @@ export default function USCDifficultyCell({ }: { chart: ChartDocument<"usc:Controller" | "usc:Keyboard">; }) { - const levelText = chart.data.isOfficial ? FormatTables(chart.data.tableFolders) : chart.level; + const levelText = chart.data.isOfficial ? chart.level : FormatTables(chart.data.tableFolders); const gptConfig = GetGamePTConfig("usc", chart.playtype);