diff --git a/flavors/swagger-ui-react/index.jsx b/flavors/swagger-ui-react/index.jsx index 38dc974bdc5..8310559814f 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 ? : null }