diff --git a/apps/desktop/src/renderer/src/modules/discover/rss3-form.tsx b/apps/desktop/src/renderer/src/modules/discover/rss3-form.tsx deleted file mode 100644 index 3e4352061..000000000 --- a/apps/desktop/src/renderer/src/modules/discover/rss3-form.tsx +++ /dev/null @@ -1,44 +0,0 @@ -import { LoadingCircle } from "@follow/components/ui/loading/index.jsx" -import { TokenBrandedRss3 } from "@follow/components/ui/platform-icon/icons.js" - -import { useAuthQuery } from "~/hooks/common" -import { Queries } from "~/queries" - -import { DiscoverFeedForm } from "./DiscoverFeedForm" - -export function DiscoverRSS3() { - const { data, isLoading } = useAuthQuery( - Queries.discover.rsshubNamespace({ - namespace: "rss3", - }), - { - meta: { - persist: true, - }, - }, - ) - - if (isLoading) { - return ( -
- - -
- ) - } - - return ( - <> - {data?.rss3!.routes && ( -
- -
- )} - - ) -} diff --git a/apps/desktop/src/renderer/src/pages/(main)/(layer)/(subview)/discover/index.tsx b/apps/desktop/src/renderer/src/pages/(main)/(layer)/(subview)/discover/index.tsx index 351652ea6..0389213a0 100644 --- a/apps/desktop/src/renderer/src/pages/(main)/(layer)/(subview)/discover/index.tsx +++ b/apps/desktop/src/renderer/src/pages/(main)/(layer)/(subview)/discover/index.tsx @@ -15,7 +15,6 @@ import { DiscoverForm } from "~/modules/discover/form" import { DiscoverImport } from "~/modules/discover/import" import { DiscoverInboxList } from "~/modules/discover/inbox-list-form" import { Recommendations } from "~/modules/discover/recommendations" -import { DiscoverRSS3 } from "~/modules/discover/rss3-form" import { DiscoverTransform } from "~/modules/discover/transform-form" import { DiscoverUser } from "~/modules/discover/user-form" @@ -41,10 +40,6 @@ const tabs: { value: "inbox", disableForTrial: true, }, - { - name: "words.rss3", - value: "rss3", - }, { name: "words.user", value: "user", @@ -128,7 +123,6 @@ export function Component() { const TabComponent: Record> = { import: DiscoverImport, - rss3: DiscoverRSS3, inbox: DiscoverInboxList, user: DiscoverUser, default: DiscoverForm,