mirror of
https://github.com/wassname/optuna-dashboard.git
synced 2026-09-09 11:28:14 +08:00
Rename: getPlotDomId -> getPlotEdfDomId in PlotEdf
This commit is contained in:
@@ -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<Target>(
|
||||
() => new Target("objective", objectiveId),
|
||||
[objectiveId]
|
||||
|
||||
Reference in New Issue
Block a user