Skip to content

Commit ece023f

Browse files
committed
Replace custom API reference with Scalar component
Removed the custom ModernApiReference implementation and replaced it with the ScalarApiReference component using @scalar/api-reference-react. Updated dependencies and imports accordingly to leverage the official Scalar API reference UI, ensuring theme consistency and easier maintenance.
1 parent 573d927 commit ece023f

File tree

6 files changed

+2415
-1684
lines changed

6 files changed

+2415
-1684
lines changed

apps/portal/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
"@radix-ui/react-slot": "^1.2.3",
1111
"@radix-ui/react-tabs": "^1.1.12",
1212
"@radix-ui/react-tooltip": "1.2.7",
13+
"@scalar/api-reference-react": "^0.7.42",
14+
"@scalar/nextjs-api-reference": "^0.8.17",
1315
"@tanstack/react-query": "5.81.5",
1416
"@tryghost/content-api": "^1.11.28",
1517
"class-variance-authority": "^0.7.1",

0 commit comments

Comments
 (0)