Skip to content

Commit 4ff363e

Browse files
committed
Merge branch 'enhancement/next15' of github.com:shapehq/framna-docs into enhancement/next15
2 parents 8cc5d71 + 4f63348 commit 4ff363e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/features/docs/view/Stoplight.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ const Stoplight = ({ url }: { url: string }) => {
2828
const ResponsiveStoplight = ({ document: apiDescriptionDocument }: { document: string }) => {
2929
useEffect(() => {
3030
const script = document.createElement("script")
31-
script.src = "https://unpkg.com/@stoplight/elements/web-components.min.js"
31+
script.src = "https://unpkg.com/@stoplight/elements@9.0.0/web-components.min.js"
3232
script.async = true
3333
document.body.appendChild(script)
3434
const link = document.createElement("link")
3535
link.rel = "stylesheet"
36-
link.href = "https://unpkg.com/@stoplight/elements/styles.min.css"
36+
link.href = "https://unpkg.com/@stoplight/elements@9.0.0/styles.min.css"
3737
document.head.appendChild(link)
3838
return () => {
3939
document.body.removeChild(script)

0 commit comments

Comments
 (0)