MCPcopy Create free account
hub / github.com/APIParkLab/APIPark / useTokenBasicInfo

Function useTokenBasicInfo

frontend/packages/common/src/hooks/tokens.ts:23–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21}
22
23export const useTokenBasicInfo = () => {
24 const [_, newSubscription] = useState(tokenState)
25 useEffect(() => {
26 subscriptions.push(newSubscription)
27 }, [])
28 return [tokenState, setTokenState] as const
29}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected