diff --git a/src/components/board-buttons/board-buttons.tsx b/src/components/board-buttons/board-buttons.tsx index b2a20cdb..3b4217ff 100644 --- a/src/components/board-buttons/board-buttons.tsx +++ b/src/components/board-buttons/board-buttons.tsx @@ -1,7 +1,7 @@ import { useTranslation } from 'react-i18next'; import { Link, useLocation, useNavigate, useParams } from 'react-router-dom'; 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 useFeedResetStore from '../../stores/use-feed-reset-store'; import useSortingStore from '../../stores/use-sorting-store'; diff --git a/src/components/post-desktop/post-desktop.tsx b/src/components/post-desktop/post-desktop.tsx index e7d77064..29e42a6e 100644 --- a/src/components/post-desktop/post-desktop.tsx +++ b/src/components/post-desktop/post-desktop.tsx @@ -30,8 +30,6 @@ import Tooltip from '../tooltip'; import { PostProps } from '../../views/post/post'; import { create } from 'zustand'; import _ from 'lodash'; -import SubplebbitRules from '../subplebbit-rules'; -import subplebbitRules from '../subplebbit-rules'; interface ShowOmittedRepliesState { showOmittedReplies: Record; diff --git a/src/views/board/board.tsx b/src/views/board/board.tsx index e8f188d0..748139f3 100644 --- a/src/views/board/board.tsx +++ b/src/views/board/board.tsx @@ -92,7 +92,7 @@ const Board = () => { !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