Compare commits

...

1 Commits

Author SHA1 Message Date
Amrit e2f0e676f9 chore: update scalar 2024-12-05 17:10:22 -08:00
3 changed files with 2 additions and 2 deletions
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -10,7 +10,7 @@
}, },
"version": "0.7.0", "version": "0.7.0",
"dependencies": { "dependencies": {
"@scalar/api-client-react": "1.0.87", "@scalar/api-client-react": "1.0.98",
"classnames": "^2.5.1", "classnames": "^2.5.1",
"flatted": "^3.2.9", "flatted": "^3.2.9",
"openapi-types": "^12.1.3", "openapi-types": "^12.1.3",
@@ -13,7 +13,7 @@ export function ScalarApiButton({ method, path }: { method: string; path: string
<div className="scalar scalar-activate"> <div className="scalar scalar-activate">
<button <button
className="scalar-activate-button" className="scalar-activate-button"
onClick={() => client?.open({ method, path })} onClick={() => client?.open({ method, path, _source: 'gitbook' })}
> >
<svg xmlns="http://www.w3.org/2000/svg" width="10" height="12" fill="none"> <svg xmlns="http://www.w3.org/2000/svg" width="10" height="12" fill="none">
<path <path