diff --git a/apps/meteor/client/views/navigation/sidepanel/tabs/SidePanelRooms.tsx b/apps/meteor/client/views/navigation/sidepanel/tabs/SidePanelRooms.tsx
index 26eeab9c67e7f..be0c1678c72a8 100644
--- a/apps/meteor/client/views/navigation/sidepanel/tabs/SidePanelRooms.tsx
+++ b/apps/meteor/client/views/navigation/sidepanel/tabs/SidePanelRooms.tsx
@@ -1,5 +1,6 @@
import { useUserSubscription } from '@rocket.chat/ui-contexts';
+import SidePanelAll from './SidePanelAll';
import SidePanelChannels from './SidePanelChannels';
import SidePanelTeams from './SidePanelTeams';
import { withErrorBoundary } from '../../../../components/withErrorBoundary';
@@ -10,7 +11,7 @@ const SidePanelRooms = ({ parentRid }: { parentRid: string }) => {
const subscription = useUserSubscription(parentRid);
if (!subscription) {
- return null;
+ return ;
}
switch (currentTab) {
@@ -19,8 +20,6 @@ const SidePanelRooms = ({ parentRid }: { parentRid: string }) => {
case 'channels':
case 'directMessages':
return ;
- default:
- return null;
}
};