diff options
| author | Oliwia Rogala <oliwia.rogala@smartbear.com> | 2024-05-07 10:02:31 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-07 10:02:31 +0200 |
| commit | 6ae2c1fb15cf01a0a67a910edaef4002330cca25 (patch) | |
| tree | 81450c23ead78bb86a1d95c23eb0b7eab0bc2a8f | |
| parent | 33555e9e4f8505d7685eb09f004faf253c9f0b46 (diff) | |
fix(swagger-ui-react): display definition defined as YAML or JSON string (#9918)
Refs #9915
| -rw-r--r-- | flavors/swagger-ui-react/index.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/flavors/swagger-ui-react/index.jsx b/flavors/swagger-ui-react/index.jsx index 38dc974b..83105598 100644 --- a/flavors/swagger-ui-react/index.jsx +++ b/flavors/swagger-ui-react/index.jsx @@ -99,7 +99,7 @@ const SwaggerUI = ({ system.specActions.updateSpec(updatedSpec) } } - }, [url, spec]) + }, [system, url, spec]) return SwaggerUIComponent ? <SwaggerUIComponent /> : null } |
