From 2ef70332b0a873ea4cd1f47b02f7b07d7ee2b667 Mon Sep 17 00:00:00 2001 From: Henry Cui Date: Sun, 28 Feb 2021 00:40:54 +0900 Subject: [PATCH] Change let to const for normalizedValues --- optuna_dashboard/static/components/GraphParetoFront.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/optuna_dashboard/static/components/GraphParetoFront.tsx b/optuna_dashboard/static/components/GraphParetoFront.tsx index a1bbd040..d8bcb3f3 100644 --- a/optuna_dashboard/static/components/GraphParetoFront.tsx +++ b/optuna_dashboard/static/components/GraphParetoFront.tsx @@ -44,7 +44,7 @@ const plotParetoFront = (study: StudyDetail) => { return } - let normalizedValues: number[][] = [] + const normalizedValues: number[][] = [] completedTrials.forEach((t) => { if (t.values && t.values.length == dim) { const trialValues = t.values.map(