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 }) {
|
export default function FilterByCategory({ categoryKey, categoryName, setGlobalFilterCategory, icon }) {
|
||||||
const onClick = () => {
|
const onClick = () => {
|
||||||
setGlobalFilterCategory(categoryKey)
|
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()
|
const { t } = useTranslation()
|
||||||
|
|
||||||
|
|||||||
@@ -123,7 +123,7 @@ const Torrent = ({ torrent }) => {
|
|||||||
<div className='description-title-wrapper'>
|
<div className='description-title-wrapper'>
|
||||||
<div className='description-section-name'>
|
<div className='description-section-name'>
|
||||||
{t('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>
|
||||||
<div className='description-torrent-title'>{parsedTitle}</div>
|
<div className='description-torrent-title'>{parsedTitle}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user