@@ -11,6 +11,11 @@ export function Recommendations() {
|
||||
Queries.discover.rsshubCategory({
|
||||
category: "popular",
|
||||
}),
|
||||
{
|
||||
meta: {
|
||||
persist: true,
|
||||
},
|
||||
},
|
||||
)
|
||||
|
||||
const { data } = rsshubPopular
|
||||
|
||||
@@ -1,15 +1,25 @@
|
||||
import { LoadingCircle } from "@renderer/components/ui/loading"
|
||||
import { useAuthQuery } from "@renderer/hooks/common"
|
||||
import { Queries } from "@renderer/queries"
|
||||
|
||||
import { DiscoverFeedForm } from "./content-components"
|
||||
|
||||
export function DiscoverRSS3() {
|
||||
const { data } = useAuthQuery(
|
||||
const { data, isLoading } = useAuthQuery(
|
||||
Queries.discover.rsshubNamespace({
|
||||
namespace: "rss3",
|
||||
}),
|
||||
{
|
||||
meta: {
|
||||
persist: true,
|
||||
},
|
||||
},
|
||||
)
|
||||
|
||||
if (isLoading) {
|
||||
return <LoadingCircle size="large" className="center flex w-full" />
|
||||
}
|
||||
|
||||
return (
|
||||
<>
|
||||
{data?.rss3.routes && (
|
||||
|
||||
Reference in New Issue
Block a user