File tree Expand file tree Collapse file tree 2 files changed +11
-11
lines changed
optuna_dashboard/ts/components Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -53,16 +53,6 @@ import { useConstants } from "../constantsProvider"
5353
5454const drawerWidth = 240
5555
56- export type PageId =
57- | "top"
58- | "analytics"
59- | "trialTable"
60- | "trialList"
61- | "trialSelection"
62- | "note"
63- | "preferenceHistory"
64- | "graph"
65-
6656const openedMixin = ( theme : Theme ) : CSSObject => ( {
6757 width : drawerWidth ,
6858 transition : theme . transitions . create ( "width" , {
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ import { Link, useParams } from "react-router-dom"
1515import { useConstants } from "../constantsProvider"
1616import { useLatestStudyDetail } from "../hooks/useLatestStudyDetail"
1717import { useStudyIsPreferential , useStudyName } from "../state"
18- import { AppDrawer , PageId } from "./AppDrawer"
18+ import { AppDrawer } from "./AppDrawer"
1919import { Contour } from "./GraphContour"
2020import { GraphEdf } from "./GraphEdf"
2121import { GraphParallelCoordinate } from "./GraphParallelCoordinate"
@@ -31,6 +31,16 @@ import { TrialList } from "./TrialList"
3131import { TrialSelection } from "./TrialSelection"
3232import { TrialTable } from "./TrialTable"
3333
34+ type PageId =
35+ | "top"
36+ | "analytics"
37+ | "trialTable"
38+ | "trialList"
39+ | "trialSelection"
40+ | "note"
41+ | "preferenceHistory"
42+ | "graph"
43+
3444export const useURLVars = ( ) : number => {
3545 const { studyId } = useParams < { studyId : string } > ( )
3646
You can’t perform that action at this time.
0 commit comments