mirror of
https://github.com/MetaCubeX/metacubexd.git
synced 2024-12-26 19:24:12 +08:00
fix(rules): request token error
This commit is contained in:
parent
8d62c9f510
commit
44739f6962
@ -2,9 +2,8 @@ import { createSignal } from 'solid-js'
|
||||
import { useRequest } from '~/signals'
|
||||
import type { Rule, RuleProvider } from '~/types'
|
||||
|
||||
const request = useRequest()
|
||||
|
||||
export const useRules = () => {
|
||||
const request = useRequest()
|
||||
const [rules, setRules] = createSignal<Rule[]>([])
|
||||
const [rulesProviders, setRulesProviders] = createSignal<RuleProvider[]>([])
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user