remove unused param
This commit is contained in:
@@ -20,11 +20,9 @@ export const RQKEY_PAGINATED = (query: string) => [
|
||||
|
||||
export function useActorSearch({
|
||||
query,
|
||||
limit = 20,
|
||||
enabled,
|
||||
}: {
|
||||
query: string
|
||||
limit?: number
|
||||
enabled?: boolean
|
||||
}) {
|
||||
const agent = useAgent()
|
||||
@@ -34,7 +32,6 @@ export function useActorSearch({
|
||||
async queryFn() {
|
||||
const res = await agent.searchActors({
|
||||
q: query,
|
||||
limit,
|
||||
})
|
||||
return res.data.actors
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user