mirror of
https://github.com/wassname/optuna-dashboard.git
synced 2026-09-18 12:40:09 +08:00
Format the file to pass the linter
This commit is contained in:
@@ -64,8 +64,7 @@ export const StudyList: FC<{
|
||||
return useMemo(() => new URLSearchParams(search), [search])
|
||||
}
|
||||
const query = useQuery()
|
||||
const initialSortBy =
|
||||
query.get("studies_order_by") === "asc" ? "asc" : "desc"
|
||||
const initialSortBy = query.get("studies_order_by") === "asc" ? "asc" : "desc"
|
||||
const [sortBy, setSortBy] = useState<"asc" | "desc">(initialSortBy)
|
||||
|
||||
let filteredStudies = studies.filter((s) => !studyFilter(s))
|
||||
|
||||
Reference in New Issue
Block a user