fix(swagger-ui-react): display definition defined as YAML or JSON string (#9918)

Refs #9915
This commit is contained in:
Oliwia Rogala
2024-05-07 10:02:31 +02:00
committed by GitHub
parent 33555e9e4f
commit 6ae2c1fb15

View File

@@ -99,7 +99,7 @@ const SwaggerUI = ({
system.specActions.updateSpec(updatedSpec)
}
}
}, [url, spec])
}, [system, url, spec])
return SwaggerUIComponent ? <SwaggerUIComponent /> : null
}