From 5cdfeafb4f040469c1f4215acc2cc11a2746dc19 Mon Sep 17 00:00:00 2001 From: MetaCubeX Date: Sun, 22 May 2022 22:15:00 +0800 Subject: [PATCH] Fix: rule provider show mistake --- src/stores/jotai.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stores/jotai.ts b/src/stores/jotai.ts index 087e20b9..3256836e 100644 --- a/src/stores/jotai.ts +++ b/src/stores/jotai.ts @@ -73,7 +73,7 @@ export function useRuleProviders () { const client = useClient() const { data, mutate } = useSWR(['/providers/rule', client, premium, meta], async () => { - if (!premium || !meta) { + if (!premium && !meta) { return [] }