From 709a227b92719e2dfbfbf1f17d363382fd13c3f3 Mon Sep 17 00:00:00 2001 From: David Langley Date: Wed, 16 Apr 2025 17:15:33 +0100 Subject: [PATCH] move comment to the correct place --- src/components/structures/LoggedInView.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/structures/LoggedInView.tsx b/src/components/structures/LoggedInView.tsx index 4b391afd51..74d0b3181d 100644 --- a/src/components/structures/LoggedInView.tsx +++ b/src/components/structures/LoggedInView.tsx @@ -260,13 +260,12 @@ class LoggedInView extends React.Component { let panelSize: number | null; let panelCollapsed: boolean; const useNewRoomList = SettingsStore.getValue("feature_new_room_list"); + // TODO decrease this once Spaces launches as it'll no longer need to include the 56px Community Panel let toggleSize = 206 - 50; if (useNewRoomList) { toggleSize = 232; } - const collapseConfig: ICollapseConfig = { - // TODO decrease this once Spaces launches as it'll no longer need to include the 56px Community Panel toggleSize: toggleSize, onCollapsed: (collapsed) => { panelCollapsed = collapsed;