From e8877106f5739277c63d45e8d7a813ec8d0bb9d5 Mon Sep 17 00:00:00 2001 From: porink0424 Date: Wed, 17 Apr 2024 14:25:31 +0900 Subject: [PATCH] Delete --- optuna_dashboard/ts/components/StudyDetail.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/optuna_dashboard/ts/components/StudyDetail.tsx b/optuna_dashboard/ts/components/StudyDetail.tsx index 898856df..8d5bce9b 100644 --- a/optuna_dashboard/ts/components/StudyDetail.tsx +++ b/optuna_dashboard/ts/components/StudyDetail.tsx @@ -35,12 +35,8 @@ import { PreferentialHistory } from "./Preferential/PreferentialHistory" import { PreferentialAnalytics } from "./Preferential/PreferentialAnalytics" import { PreferentialGraph } from "./Preferential/PreferentialGraph" -type ParamTypes = { - studyId: string -} - export const useURLVars = (): number => { - const { studyId } = useParams() + const { studyId } = useParams<{ studyId: string }>() if (studyId === undefined) { throw new Error("studyId is not defined")