Skip to content

Commit d65207e

Browse files
committed
docs: improve channel delete troubleshooting docs
1 parent d0da296 commit d65207e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docusaurus/docs/reactnative/basics/troubleshooting.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,8 +248,10 @@ dependencies {
248248

249249
## Blank screen on channel delete
250250

251-
When a channel is deleted, an event is shared from the backend which could be listened to get the status of the deleted channel.
252-
Users can listen to the event and store the status of the deleted channel and thereby display the appropriate messa
251+
When a channel is deleted, and you are active on that channel a blank screen appears by default in the SDK as we return `null` by checking the status of the event returned from the backend.
252+
A user can go back to the channel list and then the channel gets disappeared from the list. At the same time, an event is shared from the backend which could be listened to get the status of the deleted channel.
253+
254+
Users can listen to the event and store the status of the deleted channel and thereby display the appropriate message in the UI.
253255

254256
```tsx
255257
client.on('channel.deleted', (event) => {

0 commit comments

Comments
 (0)