mirror of
https://github.com/supabase/supabase.git
synced 2026-10-09 19:35:06 +03:00
fix: url type
This commit is contained in:
1 parent
f1170d261f
commit
dcb028071b
1 file changed
+1
-1
@@ -82,7 +82,7 @@ const DocView: FC<any> = observer(({}) => {
|
||||
|
||||
const { data: jsonSchema, error: jsonSchemaError } = useSWR(
|
||||
() => swaggerUrl,
|
||||
(url) => get(url, { headers, credentials: 'omit' }).then((res) => res)
|
||||
(url: string) => get(url, { headers, credentials: 'omit' }).then((res) => res)
|
||||
)
|
||||
|
||||
useEffect(() => {
|
||||
|
||||
Reference in new issue
Block a user