Skip to content

Commit

Permalink
fix(swagger-ui-react): display definition defined as YAML or JSON str…
Browse files Browse the repository at this point in the history
…ing (#9918)

Refs #9915
  • Loading branch information
glowcloud committed May 7, 2024
1 parent 33555e9 commit 6ae2c1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flavors/swagger-ui-react/index.jsx
Expand Up @@ -99,7 +99,7 @@ const SwaggerUI = ({
system.specActions.updateSpec(updatedSpec)
}
}
}, [url, spec])
}, [system, url, spec])

return SwaggerUIComponent ? <SwaggerUIComponent /> : null
}
Expand Down

0 comments on commit 6ae2c1f

Please sign in to comment.