From 225d5f04f1a99a81421cf31ea72db2f1f086a5f1 Mon Sep 17 00:00:00 2001 From: "Tom (plebeius.eth)" Date: Mon, 3 Jun 2024 21:34:32 +0200 Subject: [PATCH] rename file --- src/stores/{use-home-filters.ts => use-home-filters-store.ts} | 0 src/views/home/boards-box/boards-box.tsx | 2 +- src/views/home/box-modal/box-modal.tsx | 2 +- src/views/home/popular-threads-box/popular-threads-box.tsx | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename src/stores/{use-home-filters.ts => use-home-filters-store.ts} (100%) diff --git a/src/stores/use-home-filters.ts b/src/stores/use-home-filters-store.ts similarity index 100% rename from src/stores/use-home-filters.ts rename to src/stores/use-home-filters-store.ts diff --git a/src/views/home/boards-box/boards-box.tsx b/src/views/home/boards-box/boards-box.tsx index 01dc0f1b..ee7ce7aa 100644 --- a/src/views/home/boards-box/boards-box.tsx +++ b/src/views/home/boards-box/boards-box.tsx @@ -3,7 +3,7 @@ import { Link } from 'react-router-dom'; import { useTranslation } from 'react-i18next'; import { Subplebbit, useAccount, useAccountSubplebbits } from '@plebbit/plebbit-react-hooks'; import Plebbit from '@plebbit/plebbit-js/dist/browser/index.js'; -import useHomeFiltersStore from '../../../stores/use-home-filters'; +import useHomeFiltersStore from '../../../stores/use-home-filters-store'; import { useMultisubMetadata } from '../../../hooks/use-default-subplebbits'; import styles from '../home.module.css'; import { nsfwTags } from '../home'; diff --git a/src/views/home/box-modal/box-modal.tsx b/src/views/home/box-modal/box-modal.tsx index 4a7c3490..ee1befd7 100644 --- a/src/views/home/box-modal/box-modal.tsx +++ b/src/views/home/box-modal/box-modal.tsx @@ -1,6 +1,6 @@ import { useCallback, useEffect, useRef, useState } from 'react'; import { useTranslation } from 'react-i18next'; -import useHomeFiltersStore from '../../../stores/use-home-filters'; +import useHomeFiltersStore from '../../../stores/use-home-filters-store'; import styles from '../home.module.css'; const BoxModal = ({ isBoardsBoxModal }: { isBoardsBoxModal: boolean }) => { diff --git a/src/views/home/popular-threads-box/popular-threads-box.tsx b/src/views/home/popular-threads-box/popular-threads-box.tsx index a49d8c77..76b13a1e 100644 --- a/src/views/home/popular-threads-box/popular-threads-box.tsx +++ b/src/views/home/popular-threads-box/popular-threads-box.tsx @@ -4,7 +4,7 @@ import { useTranslation } from 'react-i18next'; import { Comment, Subplebbit } from '@plebbit/plebbit-react-hooks'; import styles from '../home.module.css'; import usePopularPosts from '../../../hooks/use-popular-posts'; -import useHomeFiltersStore from '../../../stores/use-home-filters'; +import useHomeFiltersStore from '../../../stores/use-home-filters-store'; import { getCommentMediaInfo } from '../../../lib/utils/media-utils'; import { CatalogPostMedia } from '../../../components/catalog-row'; import LoadingEllipsis from '../../../components/loading-ellipsis';