Skip to content

Commit a050373

Browse files
committed
chore: update warn message when user is not connected
1 parent 41ca4c8 commit a050373

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/uikit-react-native/src/domain/groupChannelSettings/component/GroupChannelSettingsInfo.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const GroupChannelSettingsInfo = (_: GroupChannelSettingsProps['Info']) => {
1515
const { STRINGS } = useLocalization();
1616

1717
if (!currentUser) {
18-
Logger.warn('Cannot render GroupChannelSettingsInfo, User is not connected');
18+
Logger.warn('Cannot render GroupChannelSettingsInfo, please connect using `useConnection()` hook first');
1919
return null;
2020
}
2121

packages/uikit-react-native/src/fragments/createGroupChannelListFragment.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ const createGroupChannelListFragment = (initModule?: Partial<GroupChannelListMod
5757
);
5858

5959
if (!currentUser) {
60-
Logger.warn('Cannot render GroupChannelListFragment, User is not connected');
60+
Logger.warn('Cannot render GroupChannelListFragment, please connect using `useConnection()` hook first');
6161
return null;
6262
}
6363

0 commit comments

Comments
 (0)