Skip to content

Commit 8d0eda6

Browse files
docs: fixing lint issues
1 parent 720da1a commit 8d0eda6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docusaurus/docs/reactnative/basics/troubleshooting.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ dependencies {
250250

251251
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.
252252

253-
```tsx
253+
````tsx
254254
client.on('channel.deleted', (event) => {
255255
if (event.cid === channel.cid) {
256256
// add your action here
@@ -266,7 +266,7 @@ This includes ensuring you import `react-native-gesture-handler` at the top of y
266266

267267
```tsx
268268
import 'react-native-gesture-handler';
269-
```
269+
````
270270

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

0 commit comments

Comments
 (0)