mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
refactor(catalog filters store): add sorting store
This commit is contained in:
@@ -10,7 +10,7 @@ import useFeedStateString from '../../hooks/use-feed-state-string';
|
||||
import useReplyModal from '../../hooks/use-reply-modal';
|
||||
import useTimeFilter from '../../hooks/use-time-filter';
|
||||
import useFeedResetStore from '../../stores/use-feed-reset-store';
|
||||
import useSortingStore from '../../stores/use-sorting-store';
|
||||
import useCatalogFiltersStore from '../../stores/use-catalog-filters-store';
|
||||
import LoadingEllipsis from '../../components/loading-ellipsis';
|
||||
import { Post } from '../post';
|
||||
import ReplyModal from '../../components/reply-modal';
|
||||
@@ -42,7 +42,7 @@ const Board = () => {
|
||||
return [subplebbitAddress];
|
||||
}, [isInAllView, isInSubscriptionsView, subplebbitAddress, defaultSubplebbitAddresses, subscriptions]);
|
||||
|
||||
const { sortType } = useSortingStore();
|
||||
const { sortType } = useCatalogFiltersStore();
|
||||
const { timeFilterSeconds } = useTimeFilter();
|
||||
|
||||
const feedOptions: any = {
|
||||
|
||||
Reference in New Issue
Block a user