Skip to content

Commit

Permalink
chore: update warn message when user is not connected
Browse files Browse the repository at this point in the history
  • Loading branch information
bang9 committed Sep 20, 2022
1 parent 41ca4c8 commit a050373
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const GroupChannelSettingsInfo = (_: GroupChannelSettingsProps['Info']) => {
const { STRINGS } = useLocalization();

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const createGroupChannelListFragment = (initModule?: Partial<GroupChannelListMod
);

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

Expand Down

0 comments on commit a050373

Please sign in to comment.