mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-21 01:53:26 +00:00
Remove top level circular refs in alternatives (#2924)
This commit is contained in:
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
'@gitbook/react-openapi': patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Remove top level circular refs in alternatives
|
||||||
@@ -57,7 +57,7 @@ function OpenAPISchemaProperty(props: {
|
|||||||
<OpenAPISchemaAlternative
|
<OpenAPISchemaAlternative
|
||||||
key={index}
|
key={index}
|
||||||
schema={schema}
|
schema={schema}
|
||||||
circularRefs={circularRefs}
|
circularRefs={new Map(circularRefs)}
|
||||||
context={context}
|
context={context}
|
||||||
/>
|
/>
|
||||||
))}
|
))}
|
||||||
|
|||||||
Reference in New Issue
Block a user