fix: Modify commonCode hook
This commit is contained in:
parent
f8bdce6177
commit
68aba5094d
@ -6,7 +6,7 @@ import { useAxios } from '../useAxios'
|
|||||||
|
|
||||||
export const useCommonCode = () => {
|
export const useCommonCode = () => {
|
||||||
const [commonCode, setCommonCode] = useRecoilState(commonCodeState)
|
const [commonCode, setCommonCode] = useRecoilState(commonCodeState)
|
||||||
const { get, promiseGet } = useAxios()
|
const { promiseGet } = useAxios()
|
||||||
|
|
||||||
const findCommonCode = (key) => {
|
const findCommonCode = (key) => {
|
||||||
// const arr = commonCode[key]
|
// const arr = commonCode[key]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user