Skip to content

Commit

Permalink
Fix: rule provider show mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
MetaCubeX committed May 22, 2022
1 parent 7285db2 commit 5cdfeaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stores/jotai.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 []
}

Expand Down

0 comments on commit 5cdfeaf

Please sign in to comment.