style(request-snippets): change name of active tab class (#9839)
Refs https://github.com/swagger-api/swagger-ui/pull/9826
This commit is contained in:
@@ -120,7 +120,7 @@ const RequestSnippets = ({ request, requestSnippetsSelectors, getComponent }) =>
|
||||
snippetGenerators.entrySeq().map(([key, gen]) => {
|
||||
return (
|
||||
<div
|
||||
className={classNames("btn", {"curl-command--active": key === activeLanguage })}
|
||||
className={classNames("btn", {"active": key === activeLanguage })}
|
||||
style={handleGetBtnStyle(key)}
|
||||
key={key}
|
||||
onClick={() => handleGenChange(key)}
|
||||
|
||||
Reference in New Issue
Block a user