Skip to content

Commit

Permalink
fixed channel search hook
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitmalhotra1420 committed Sep 26, 2024
1 parent ce15059 commit 55e2f58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/queries/hooks/channels/useChannelSearch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export type UseChannelSearchProps = {
// TODO make it a sdk call in future
export const useChannelSearch = ({ pageSize, query, chain, tag }: UseChannelSearchProps) => {
const infiniteQuery = useInfiniteQuery<ChannelsSearchListModelledResponse>({
queryKey: [channelSearchList, query, chain],
queryKey: [channelSearchList, query, chain, tag],
initialPageParam: 1,
enabled: !!query,
queryFn: ({ pageParam }) =>
Expand Down

0 comments on commit 55e2f58

Please sign in to comment.