From ec071230d0af5b45a5635f7f60466af33dd6e539 Mon Sep 17 00:00:00 2001 From: Oliwia Rogala Date: Tue, 7 May 2024 09:51:48 +0200 Subject: [PATCH] fix(swagger-ui-react): update specification after system change --- 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 }