Skip to content

Commit

Permalink
fix: upgrade scalar (#883)
Browse files Browse the repository at this point in the history
  • Loading branch information
marclave authored Jul 10, 2024
1 parent c017a6b commit 1c5f6d9
Show file tree
Hide file tree
Showing 3 changed files with 863 additions and 216 deletions.
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"dependencies": {
"@radix-ui/react-accordion": "^1.1.2",
"@scalar/api-reference-react": "0.0.4",
"@scalar/api-reference-react": "0.3.37",
"@uploadthing/react": "workspace:*",
"next": "14.2.3",
"nextra": "^2.13.2",
Expand Down
4 changes: 3 additions & 1 deletion docs/src/components/scalar.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import { useEffect } from "react";
import { ApiReferenceReact } from "@scalar/api-reference-react";

import "@scalar/api-reference-react/style.css";

import { useTheme } from "nextra-theme-docs";

const specUrl = "https://api.uploadthing.com/openapi-spec.json";
Expand Down
Loading

0 comments on commit 1c5f6d9

Please sign in to comment.