From 5690c9632736165c6c452cc24f44d07c71ec16a3 Mon Sep 17 00:00:00 2001 From: keisuke-umezawa Date: Thu, 28 Nov 2024 09:23:52 +0900 Subject: [PATCH] Fix error --- tslib/react/src/utils/graph.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tslib/react/src/utils/graph.ts b/tslib/react/src/utils/graph.ts index 2572c75d..fdc1b0b4 100644 --- a/tslib/react/src/utils/graph.ts +++ b/tslib/react/src/utils/graph.ts @@ -63,7 +63,7 @@ const getAxisInfoForCategoricalParams = ( ) const indices = distribution.choices - .map((c) => c?.toString() ?? "null") + .map((c) => c?.value ?? "null") .sort((a, b) => a.toLowerCase() < b.toLowerCase() ? -1