From 6828cf3241085da4af55f16fa6842dc0ffb052ef Mon Sep 17 00:00:00 2001 From: DIYgod Date: Fri, 6 Jun 2025 11:02:50 +0800 Subject: [PATCH] fix(mobile): rsshub routes cache key --- apps/mobile/src/modules/discover/Recommendations.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/mobile/src/modules/discover/Recommendations.tsx b/apps/mobile/src/modules/discover/Recommendations.tsx index aa0c1a455..3e1d0afba 100644 --- a/apps/mobile/src/modules/discover/Recommendations.tsx +++ b/apps/mobile/src/modules/discover/Recommendations.tsx @@ -129,7 +129,7 @@ export const RecommendationTab: TabComponent<{ const discoverLanguage = useUISettingKey("discoverLanguage") const { data, isLoading } = useQuery({ - queryKey: ["rsshub-popular", "cache", tab.value], + queryKey: ["rsshub-popular", "cache", tab.value, discoverLanguage], queryFn: () => fetchRsshubPopular(tab.value, LanguageMap[discoverLanguage]).then((res) => res.data), staleTime: 1000 * 60 * 60 * 24, // 1 day