mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 13:36:09 +05:00
prettier suggests
This commit is contained in:
@@ -6,10 +6,6 @@ import { useTranslation } from 'react-i18next'
|
||||
export default function FilterByCategory({ categoryKey, categoryName, setGlobalFilterCategory, icon }) {
|
||||
const onClick = () => {
|
||||
setGlobalFilterCategory(categoryKey)
|
||||
// if (process.env.NODE_ENV !== 'production') {
|
||||
// eslint-disable-next-line no-console
|
||||
// console.log('FilterByCategory categoryKey: %s categoryName: %s', categoryKey, categoryName)
|
||||
// }
|
||||
}
|
||||
const { t } = useTranslation()
|
||||
|
||||
|
||||
@@ -123,7 +123,7 @@ const Torrent = ({ torrent }) => {
|
||||
<div className='description-title-wrapper'>
|
||||
<div className='description-section-name'>
|
||||
{t('Name')}
|
||||
<div className='description-category-wrapper'>{catIndex >= 0 ? t(catArray.name) : category}</div>
|
||||
<div className='description-category-wrapper'>{catIndex >= 0 ? t(catArray.name) : category}</div>
|
||||
</div>
|
||||
<div className='description-torrent-title'>{parsedTitle}</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user