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 <anonymous>
This commit is contained in:
stacksmash76 2022-09-24 15:22:27 +02:00 committed by GitHub
parent 6fc8015887
commit 5f85a9a990
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,