# Why when i pass on props queries={{ channelListQuery: { includeEmpty: true } }} app is stuck and make endless requests

**URL:** <https://community.sendbird.com/t/why-when-i-pass-on-props-queries-channellistquery-includeempty-true-app-is-stuck-and-make-endless-requests/6816>\
**Category:** React\
**Tags:** javascript, uikit, bug\
**Created:** [March 19, 2023, 11:43am UTC](https://community.sendbird.com/t/why-when-i-pass-on-props-queries-channellistquery-includeempty-true-app-is-stuck-and-make-endless-requests/6816 "2023-03-19T11:43:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![1sokolov.stas1](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/1sokolov.stas1/32/3742_2.png) [@1sokolov.stas1](https://community.sendbird.com/u/1sokolov.stas1)\
**Post date:** [March 19, 2023, 11:43am UTC](https://community.sendbird.com/t/why-when-i-pass-on-props-queries-channellistquery-includeempty-true-app-is-stuck-and-make-endless-requests/6816/1 "2023-03-19T11:43:21Z")

</div>

**[Problem/Question]**  
When i try to pass queries into ChannelList component app is stuck

* * *

// If problem, please fill out the below. If question, please delete.  
**[UIKit Version]**  
// What version of the SDK are you using?

**[Reproduction Steps]**  
// Please provide reproduction steps and, if possible, code snippets.

**[Frequency]**  
// How frequently is this issue occurring?

**[Current impact]**  
// How is this currently impacting your implementation?

---

<div class="post-metadata">

**Author:** ![Miyoung\_Han](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/miyoung_han/32/183_2.png) [@Miyoung\_Han](https://community.sendbird.com/u/Miyoung_Han)\
**Post date:** [March 21, 2023, 12:43am UTC](https://community.sendbird.com/t/why-when-i-pass-on-props-queries-channellistquery-includeempty-true-app-is-stuck-and-make-endless-requests/6816/2 "2023-03-21T00:43:42Z")

</div>

Hi @1sokolov.stas1

Welcome to Sendbird Community!

You might need to set the `disableAutoSelect` option as well.  
Please refer to the following.

```auto
<ChannelList
  disableAutoSelect
  queries={{
    channelListQuery: {
      includeEmpty: true
    }
  }}
  onChannelSelect={(channel) => {
    if (channel && channel.url) {
      setCurrentChannelUrl(channel.url);
    }
  }}
/>

```
