From 82d0c4445b592a340ff31df237d520bd4d34157d Mon Sep 17 00:00:00 2001 From: porink0424 Date: Fri, 21 Jun 2024 11:50:43 +0900 Subject: [PATCH] Rename: getPlotDomId -> getPlotEdfDomId in PlotEdf --- tslib/react/src/components/PlotEdf.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tslib/react/src/components/PlotEdf.tsx b/tslib/react/src/components/PlotEdf.tsx index 17a0872e..961463c8 100644 --- a/tslib/react/src/components/PlotEdf.tsx +++ b/tslib/react/src/components/PlotEdf.tsx @@ -12,7 +12,7 @@ export type EdfPlotInfo = { trials: Optuna.Trial[] } -export const getPlotDomId = (objectiveId: number) => `graph-edf-${objectiveId}` +export const getPlotEdfDomId = (objectiveId: number) => `graph-edf-${objectiveId}` export const PlotEdf: FC<{ studies: Optuna.Study[] @@ -22,7 +22,7 @@ export const PlotEdf: FC<{ const theme = useTheme() - const domId = getPlotDomId(objectiveId) + const domId = getPlotEdfDomId(objectiveId) const target = useMemo( () => new Target("objective", objectiveId), [objectiveId]