We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f8fc3a commit 4d13847Copy full SHA for 4d13847
src/modules/App/MobileLayout.tsx
@@ -108,7 +108,11 @@ export const MobileLayout: React.FC<MobileLayoutProps> = (
108
onProfileEditSuccess={onProfileEditSuccess}
109
onChannelSelect={(channel) => {
110
setCurrentChannel(channel);
111
- setPanel(PANELS.CHANNEL);
+ if (channel) {
112
+ setPanel(PANELS.CHANNEL);
113
+ } else {
114
+ setPanel(PANELS.CHANNEL_LIST);
115
+ }
116
}}
117
allowProfileEdit={allowProfileEdit}
118
// this condition must be true for mobile
0 commit comments