Skip to content

Commit

Permalink
docs: fix linting issues on versioned docs
Browse files Browse the repository at this point in the history
  • Loading branch information
khushal87 committed Jun 6, 2024
1 parent ae279a1 commit 27c698e
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 28 deletions.
8 changes: 4 additions & 4 deletions docusaurus/docs/reactnative/basics/client.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ const client = StreamChat.getInstance('api_key');
**Usage of `StreamChat.getInstance()` available since [email protected].**

<br />
This new Singleton pattern allows you to instantiate a unique StreamChat client, i.e create a StreamChat instance and retrieve
it wherever you need it on your app to perform API calls. After calling it once, any following <code>
This new Singleton pattern allows you to instantiate a unique StreamChat client, i.e create a StreamChat instance and
retrieve it wherever you need it on your app to perform API calls. After calling it once, any following <code>
getInstance
</code> call will return the initial StreamChat instance. This will prevent you from accidentally creating multiple StreamChat
instances, opening multiple WebSockets, and driving up your concurrent connections unnecessarily.
</code> call will return the initial StreamChat instance. This will prevent you from accidentally creating multiple
StreamChat instances, opening multiple WebSockets, and driving up your concurrent connections unnecessarily.
<br />
<br />

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ const client = StreamChat.getInstance('api_key');
**Usage of `StreamChat.getInstance()` available since [email protected].**

<br />
This new Singleton pattern allows you to instantiate a unique StreamChat client, i.e create a StreamChat instance and retrieve
it wherever you need it on your app to perform API calls. After calling it once, any following <code>
This new Singleton pattern allows you to instantiate a unique StreamChat client, i.e create a StreamChat instance and
retrieve it wherever you need it on your app to perform API calls. After calling it once, any following <code>
getInstance
</code> call will return the initial StreamChat instance. This will prevent you from accidentally creating multiple StreamChat
instances, opening multiple WebSockets, and driving up your concurrent connections unnecessarily.
</code> call will return the initial StreamChat instance. This will prevent you from accidentally creating multiple
StreamChat instances, opening multiple WebSockets, and driving up your concurrent connections unnecessarily.
<br />
<br />

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ const client = StreamChat.getInstance('api_key');
**Usage of `StreamChat.getInstance()` available since [email protected].**

<br />
This new Singleton pattern allows you to instantiate a unique StreamChat client, i.e create a StreamChat instance and retrieve
it wherever you need it on your app to perform API calls. After calling it once, any following <code>
This new Singleton pattern allows you to instantiate a unique StreamChat client, i.e create a StreamChat instance and
retrieve it wherever you need it on your app to perform API calls. After calling it once, any following <code>
getInstance
</code> call will return the initial StreamChat instance. This will prevent you from accidentally creating multiple StreamChat
instances, opening multiple WebSockets, and driving up your concurrent connections unnecessarily.
</code> call will return the initial StreamChat instance. This will prevent you from accidentally creating multiple
StreamChat instances, opening multiple WebSockets, and driving up your concurrent connections unnecessarily.
<br />
<br />

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,12 @@ The guidance provided makes the assumption you are using [React Navigation](http

<code>createNativeStackNavigator</code> uses the native APIs <code>UINavigationController</code> on iOS and <code>
Fragment
</code> on Android. The <code>OverlayProvider</code> needs to exist in a view that can render content in front of the chat
screen. Therefore using a <code>fullScreenModal</code> with <code>createNativeStackNavigator</code>, which uses <code>
</code> on Android. The <code>OverlayProvider</code> needs to exist in a view that can render content in front of the
chat screen. Therefore using a <code>fullScreenModal</code> with <code>createNativeStackNavigator</code>, which uses <code>
UIModalPresentationFullScreen
</code> on iOS and <code>modal</code> on Android, to render your chat screen will leave the <code>
OverlayProvider
</code> rendered behind the chat. If you are having issues we suggest you get in touch with support and we can find a
solution to your specific navigation arrangement.
</code> on iOS and <code>modal</code> on Android, to render your chat screen will leave the <code>OverlayProvider</code> rendered
behind the chat. If you are having issues we suggest you get in touch with support and we can find a solution to your
specific navigation arrangement.

:::

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ const client = StreamChat.getInstance('api_key');
**Usage of `StreamChat.getInstance()` available since [email protected].**

<br />
This new Singleton pattern allows you to instantiate a unique StreamChat client, i.e create a StreamChat instance and retrieve
it wherever you need it on your app to perform API calls. After calling it once, any following <code>
This new Singleton pattern allows you to instantiate a unique StreamChat client, i.e create a StreamChat instance and
retrieve it wherever you need it on your app to perform API calls. After calling it once, any following <code>
getInstance
</code> call will return the initial StreamChat instance. This will prevent you from accidentally creating multiple StreamChat
instances, opening multiple WebSockets, and driving up your concurrent connections unnecessarily.
</code> call will return the initial StreamChat instance. This will prevent you from accidentally creating multiple
StreamChat instances, opening multiple WebSockets, and driving up your concurrent connections unnecessarily.
<br />
<br />

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,12 @@ The guidance provided makes the assumption you are using [React Navigation](http

<code>createNativeStackNavigator</code> uses the native APIs <code>UINavigationController</code> on iOS and <code>
Fragment
</code> on Android. The <code>OverlayProvider</code> needs to exist in a view that can render content in front of the chat
screen. Therefore using a <code>fullScreenModal</code> with <code>createNativeStackNavigator</code>, which uses <code>
</code> on Android. The <code>OverlayProvider</code> needs to exist in a view that can render content in front of the
chat screen. Therefore using a <code>fullScreenModal</code> with <code>createNativeStackNavigator</code>, which uses <code>
UIModalPresentationFullScreen
</code> on iOS and <code>modal</code> on Android, to render your chat screen will leave the <code>
OverlayProvider
</code> rendered behind the chat. If you are having issues we suggest you get in touch with support and we can find a
solution to your specific navigation arrangement.
</code> on iOS and <code>modal</code> on Android, to render your chat screen will leave the <code>OverlayProvider</code> rendered
behind the chat. If you are having issues we suggest you get in touch with support and we can find a solution to your
specific navigation arrangement.

:::

Expand Down

0 comments on commit 27c698e

Please sign in to comment.