prettier suggests

This commit is contained in:
nikk gitanes
2024-04-06 15:17:29 +03:00
parent 3439a06ce2
commit 2ac365fa23
2 changed files with 1 additions and 5 deletions

View File

@@ -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()

View File

@@ -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>