This commit is contained in:
moririn2528 committed 2023-08-17 16:34:05 +09:00
1 parent ff5b1e3ed8
commit 95bc385dc7
2 files changed
+2 -6

No files matched your search

+1 -5
View File
@@ -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") {