mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-19 00:55:13 +00:00
Format
This commit is contained in:
@@ -26,7 +26,7 @@ export function OpenAPIServerURL(props: {
|
||||
return (
|
||||
<ServerURLForm context={context} servers={servers} serverIndex={serverIndex}>
|
||||
{parts.map((part, i) => {
|
||||
if (part.kind === 'text') {
|
||||
if (part.kind === 'text') {
|
||||
return <span key={i}>{part.text}</span>;
|
||||
} else {
|
||||
if (!server.variables?.[part.name]) {
|
||||
|
||||
Reference in New Issue
Block a user