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
  • Loading branch information
glowcloud authored 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
Original file line number Diff line number Diff line change
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.