mirror of
https://github.com/wassname/optuna-dashboard.git
synced 2026-10-04 12:50:44 +08:00
format
This commit is contained in:
1 parent
ff5b1e3ed8
commit
95bc385dc7
2 files changed
+2
-6
No files matched your search
@@ -107,11 +107,7 @@ export const App: FC = () => {
|
||||
/>
|
||||
<Route
|
||||
path={URL_PREFIX + "/studies/:studyId"}
|
||||
element={
|
||||
<StudyDetail
|
||||
toggleColorMode={toggleColorMode}
|
||||
/>
|
||||
}
|
||||
element={<StudyDetail toggleColorMode={toggleColorMode} />}
|
||||
/>
|
||||
<Route
|
||||
path={URL_PREFIX + "/compare-studies"}
|
||||
|
||||
@@ -82,7 +82,7 @@ export const StudyDetail: FC<{
|
||||
}, [reloadInterval, studyDetail, page])
|
||||
|
||||
let content = null
|
||||
if (page === undefined){
|
||||
if (page === undefined) {
|
||||
page = studyDetail?.is_preferential ? "preference" : "history"
|
||||
}
|
||||
if (page === "history") {
|
||||
|
||||
Reference in new issue
Block a user