From 6ae2c1fb15cf01a0a67a910edaef4002330cca25 Mon Sep 17 00:00:00 2001 From: Oliwia Rogala Date: Tue, 7 May 2024 10:02:31 +0200 Subject: [PATCH] fix(swagger-ui-react): display definition defined as YAML or JSON string (#9918) Refs #9915 --- flavors/swagger-ui-react/index.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }