Skip to content

Commit

Permalink
docs: add FIXME to remind the future refactor needed for usePaginated…
Browse files Browse the repository at this point in the history
…Channels
  • Loading branch information
MartinCupela committed Nov 7, 2023
1 parent 0d870e9 commit b65a02b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/ChannelList/hooks/usePaginatedChannels.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ export const usePaginatedChannels = <
queryChannels('reload');
}, [filterString, sortString]);

// FIXME: state refactor (breaking change) is needed - do not forward `channels` and `setChannel`
return {
channels,
hasNextPage,
Expand Down

0 comments on commit b65a02b

Please sign in to comment.