mirror of
https://github.com/wassname/optuna-dashboard.git
synced 2026-09-17 12:30:35 +08:00
Delete
This commit is contained in:
@@ -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<ParamTypes>()
|
||||
const { studyId } = useParams<{ studyId: string }>()
|
||||
|
||||
if (studyId === undefined) {
|
||||
throw new Error("studyId is not defined")
|
||||
|
||||
Reference in New Issue
Block a user