diff --git a/samples/react-native-group-chat/screens/tabs/home/HomeScreen.tsx b/samples/react-native-group-chat/screens/tabs/home/HomeScreen.tsx index 10c76c4..91ab66e 100644 --- a/samples/react-native-group-chat/screens/tabs/home/HomeScreen.tsx +++ b/samples/react-native-group-chat/screens/tabs/home/HomeScreen.tsx @@ -72,7 +72,7 @@ export function HomeScreen({ navigation }: StackScreenProps { const disconnectFuncs = channels.map((ch) => - ch.connect((message) => { + ch.connect(() => { fetchUnreadMessagesCount() }) )