Skip to content

Commit 4021a8a

Browse files
Reset docs cache
1 parent 9db8b7a commit 4021a8a

File tree

5 files changed

+5
-9
lines changed

5 files changed

+5
-9
lines changed

docs/build/bundle.38561380.js

Lines changed: 0 additions & 2 deletions
This file was deleted.

docs/build/bundle.7ded6173.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99
</head>
1010
<body>
1111
<div id="rsg-root"></div>
12-
<script src="build/bundle.38561380.js"></script>
12+
<script src="build/bundle.7ded6173.js"></script>
1313
</body>
1414
</html>

src/components/Chat/Chat.tsx

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -154,12 +154,8 @@ export const Chat = <
154154
>(client);
155155

156156
useEffect(() => {
157-
if (client) {
158-
client?.setUserAgent(
159-
`stream-chat-react-native-${Platform.OS}-${version}`,
160-
);
161-
client.recoverStateOnReconnect = false;
162-
}
157+
client?.setUserAgent(`stream-chat-react-native-${Platform.OS}-${version}`);
158+
client.recoverStateOnReconnect = false;
163159
}, []);
164160

165161
const setActiveChannel = (newChannel?: Channel<At, Ch, Co, Ev, Me, Re, Us>) =>

0 commit comments

Comments
 (0)