Skip to content

Commit f41e655

Browse files
docs: fixing markdown
1 parent 0027636 commit f41e655

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

docusaurus/docs/reactnative/basics/troubleshooting.mdx

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -248,14 +248,17 @@ dependencies {
248248

249249
## Blank screen when channel gets delete
250250

251-
When a channel is deleted, and if some user is active on that channel, a blank screen appears by default (as per the default logic) as we return `null` in this case. It might be confusing for end user to see a blank screen and appropriate UX would be to navigate back to channel list screen. You can implement such UX by listening to `channel.deleted` event on channel screen, and navigate to channel list screen with appropriate notification on app.
251+
When a channel is deleted, and if some user is active on that channel, a blank screen appears by default (as per the default logic) as we return `null` in this case.
252+
It might be confusing for end user to see a blank screen and appropriate UX would be to navigate back to channel list screen.
253+
You can implement such UX by listening to `channel.deleted` event on channel screen, and navigate to channel list screen with appropriate notification on app.
252254

253-
````tsx
254-
client.on('channel.deleted', (event) => {
255+
```tsx
256+
client.on('channel.deleted', event => {
255257
if (event.cid === channel.cid) {
256258
// add your action here
257259
}
258-
}),
260+
});
261+
```
259262

260263
## Touchables not working
261264

@@ -266,7 +269,7 @@ This includes ensuring you import `react-native-gesture-handler` at the top of y
266269

267270
```tsx
268271
import 'react-native-gesture-handler';
269-
````
272+
```
270273

271274
And for Android you additionally need to update `MainActivity.java` to override the method for creating the `ReactRootView`.
272275

0 commit comments

Comments
 (0)