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:
Vladimír Gorej
2024-04-18 10:55:09 +02:00
committed by GitHub
parent c452527cb2
commit c2b63ab4d7

View File

@@ -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)}