MCPcopy Create free account
hub / github.com/evolify/dumpfun / useQuery

Function useQuery

common/hooks/index.ts:3–6  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

1import { useSearchParams } from "next/navigation"
2
3export function useQuery(key: string) {
4 const p = useSearchParams()
5 return p.get(key)
6}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected