From 5f85a9a9900d8e9bda398341b6ff771406a58037 Mon Sep 17 00:00:00 2001 From: stacksmash76 <98354295+stacksmash76@users.noreply.github.com> Date: Sat, 24 Sep 2022 15:22:27 +0200 Subject: [PATCH] fix(web): indexer options stale caching (#473) fix: de-duplicate incompatible queries which led to a stale type-unsafe caching bug Co-authored-by: anonymous --- web/src/screens/filters/list.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/screens/filters/list.tsx b/web/src/screens/filters/list.tsx index bd171c5..5b7825a 100644 --- a/web/src/screens/filters/list.tsx +++ b/web/src/screens/filters/list.tsx @@ -550,7 +550,7 @@ const ListboxFilter = ({ // a unique option from a list const IndexerSelectFilter = ({ dispatch }: any) => { const { data, isSuccess } = useQuery( - "release_indexers", + "indexers_options", () => APIClient.indexers.getOptions(), { keepPreviousData: true,