mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-19 01:28:38 +02:00
refactor(theme-classic): avoid using clsx class dict with CSS modules (#6891)
This commit is contained in:
parent
2648ec090e
commit
e08777c9c5
10 changed files with 45 additions and 44 deletions
|
@ -58,7 +58,7 @@ export default function Details({
|
|||
data-collapsed={collapsed}
|
||||
className={clsx(
|
||||
styles.details,
|
||||
{[styles.isBrowser!]: isBrowser},
|
||||
isBrowser && styles.isBrowser,
|
||||
props.className,
|
||||
)}
|
||||
onMouseDown={(e) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue