From 2ac365fa2394270417b9294d9156dea275ed5129 Mon Sep 17 00:00:00 2001 From: nikk gitanes Date: Sat, 6 Apr 2024 15:17:29 +0300 Subject: [PATCH] prettier suggests --- web/src/components/FilterByCategory.jsx | 4 ---- web/src/components/TorrentCard/index.jsx | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/web/src/components/FilterByCategory.jsx b/web/src/components/FilterByCategory.jsx index 8c817e8..d18905b 100644 --- a/web/src/components/FilterByCategory.jsx +++ b/web/src/components/FilterByCategory.jsx @@ -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() diff --git a/web/src/components/TorrentCard/index.jsx b/web/src/components/TorrentCard/index.jsx index 125290a..afc3c0b 100644 --- a/web/src/components/TorrentCard/index.jsx +++ b/web/src/components/TorrentCard/index.jsx @@ -123,7 +123,7 @@ const Torrent = ({ torrent }) => {
{t('Name')} -
{catIndex >= 0 ? t(catArray.name) : category}
+
{catIndex >= 0 ? t(catArray.name) : category}
{parsedTitle}