refactor(theme-classic): avoid using clsx class dict with CSS modules (#6891)

This commit is contained in:
Joshua Chen 2022-03-10 20:49:52 +08:00 committed by GitHub
parent 2648ec090e
commit e08777c9c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 45 additions and 44 deletions

View file

@ -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) => {