fix eslint

This commit is contained in:
Tom (plebeius.eth)
2024-09-15 21:38:16 +02:00
parent b363c27108
commit 7497daa4d0
3 changed files with 2 additions and 4 deletions
@@ -1,7 +1,7 @@
import { useTranslation } from 'react-i18next'; import { useTranslation } from 'react-i18next';
import { Link, useLocation, useNavigate, useParams } from 'react-router-dom'; import { Link, useLocation, useNavigate, useParams } from 'react-router-dom';
import { useAccountComment, useComment, useSubscribe } from '@plebbit/plebbit-react-hooks'; import { useAccountComment, useComment, useSubscribe } from '@plebbit/plebbit-react-hooks';
import { isAllView, isCatalogView, isDescriptionView, isPendingPostView, isPostPageView, isRulesView, isSubscriptionsView } from '../../lib/utils/view-utils'; import { isAllView, isCatalogView, isDescriptionView, isPendingPostView, isPostPageView, isSubscriptionsView } from '../../lib/utils/view-utils';
import useCatalogStyleStore from '../../stores/use-catalog-style-store'; import useCatalogStyleStore from '../../stores/use-catalog-style-store';
import useFeedResetStore from '../../stores/use-feed-reset-store'; import useFeedResetStore from '../../stores/use-feed-reset-store';
import useSortingStore from '../../stores/use-sorting-store'; import useSortingStore from '../../stores/use-sorting-store';
@@ -30,8 +30,6 @@ import Tooltip from '../tooltip';
import { PostProps } from '../../views/post/post'; import { PostProps } from '../../views/post/post';
import { create } from 'zustand'; import { create } from 'zustand';
import _ from 'lodash'; import _ from 'lodash';
import SubplebbitRules from '../subplebbit-rules';
import subplebbitRules from '../subplebbit-rules';
interface ShowOmittedRepliesState { interface ShowOmittedRepliesState {
showOmittedReplies: Record<string, boolean>; showOmittedReplies: Record<string, boolean>;
+1 -1
View File
@@ -92,7 +92,7 @@ const Board = () => {
!feed.some((post) => post.cid === cid) !feed.some((post) => post.cid === cid)
); );
}), }),
[accountComments, subplebbitAddress, feed], [accountComments, subplebbitAddress, feed, hideThreadsWithoutImages],
); );
// show newest account comment at the top of the feed but after pinned posts // show newest account comment at the top of the feed but after pinned posts