diff --git a/src/components/navigation/left/ServerSidebar.tsx b/src/components/navigation/left/ServerSidebar.tsx
index b2b602ff..0c25c873 100644
--- a/src/components/navigation/left/ServerSidebar.tsx
+++ b/src/components/navigation/left/ServerSidebar.tsx
@@ -50,8 +50,10 @@ const ServerList = styled.div`
export default observer(() => {
const client = useClient();
const state = useApplicationState();
- const { server: server_id, channel: channel_id } =
- useParams<{ server: string; channel?: string }>();
+ const { server: server_id, channel: channel_id } = useParams<{
+ server: string;
+ channel?: string;
+ }>();
const server = client.servers.get(server_id);
if (!server) return ;
@@ -119,14 +121,18 @@ export default observer(() => {
channels.push(addChannel(id));
}
- elements.push(
- {category.title}}>
- {channels}
- ,
- );
+ if (category.title === "Default") {
+ elements.push(...channels);
+ } else {
+ elements.push(
+ {category.title}}>
+ {channels}
+ ,
+ );
+ }
}
}