mirror of
https://github.com/navidrome/navidrome.git
synced 2026-11-15 22:58:40 +01:00
Replace classnames with clsx
This commit is contained in:
parent
0b729e1cf9
commit
2ffb28fc2d
5 changed files with 10 additions and 13 deletions
|
|
@ -9,7 +9,7 @@ import {
|
|||
useVersion,
|
||||
useListContext,
|
||||
} from 'react-admin'
|
||||
import classnames from 'classnames'
|
||||
import clsx from 'clsx'
|
||||
import { useDispatch } from 'react-redux'
|
||||
import { Card, useMediaQuery } from '@material-ui/core'
|
||||
import { makeStyles } from '@material-ui/core/styles'
|
||||
|
|
@ -133,7 +133,7 @@ const PlaylistSongs = ({ playlistId, readOnly, ...props }) => {
|
|||
/>
|
||||
<div className={classes.main}>
|
||||
<Card
|
||||
className={classnames(classes.content, {
|
||||
className={clsx(classes.content, {
|
||||
[classes.bulkActionsDisplayed]: props.selectedIds.length > 0,
|
||||
})}
|
||||
key={version}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue