# How to customize default query in react uikit

**URL:** <https://community.sendbird.com/t/how-to-customize-default-query-in-react-uikit/9467>\
**Category:** Miscellaneous\
**Tags:** group-channel, react-js\
**Created:** [April 29, 2024, 11:52pm UTC](https://community.sendbird.com/t/how-to-customize-default-query-in-react-uikit/9467 "2024-04-29T23:52:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gerald](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/gerald/32/5049_2.png) [@Gerald](https://community.sendbird.com/u/Gerald)\
**Post date:** [April 29, 2024, 11:52pm UTC](https://community.sendbird.com/t/how-to-customize-default-query-in-react-uikit/9467/1 "2024-04-29T23:52:10Z")

</div>

looks like the GroupChannelList component query is the my\_group\_channels query. Is there a way to change it to a public group channels query? We need to fetch all group channels even if the user who is currently logged in is not a member.

---

<div class="post-metadata">

**Author:** ![Tyler](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/tyler/32/810_2.png) [@Tyler](https://community.sendbird.com/u/Tyler)\
**Post date:** [April 30, 2024, 3:14am UTC](https://community.sendbird.com/t/how-to-customize-default-query-in-react-uikit/9467/2 "2024-04-30T03:14:16Z")

</div>

Hello @Gerald,

Take a look at this sample application to see how you can pass in a custom query: [Sendbird UIKit - Custom Channel List Queries - StackBlitz](https://stackblitz.com/edit/sendbird-uikit-react-custom-channel-list-queries?file=src%2FCustomizedApp.jsx%3AL12)
