mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
fix: ruff issues & build
This commit is contained in:
parent
531e1863c0
commit
f635440158
10 changed files with 8 additions and 47 deletions
|
|
@ -43,7 +43,7 @@ export function useCourseRights(courseuuid: string) {
|
|||
|
||||
const { data: rights, error, isLoading } = useSWR<CourseRights>(
|
||||
courseuuid ? `${getAPIUrl()}courses/${courseuuid}/rights` : null,
|
||||
(url) => swrFetcher(url, access_token)
|
||||
(url: string) => swrFetcher(url, access_token)
|
||||
)
|
||||
|
||||
return {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue