From ec4650c60dd0f20f7954236a7457aaa8a61ee1fc Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Thu, 16 Sep 2021 11:23:41 +0100 Subject: [PATCH] Fix abuse of MainSplit in LegacyCommunityPreview --- src/components/structures/LegacyCommunityPreview.tsx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/components/structures/LegacyCommunityPreview.tsx b/src/components/structures/LegacyCommunityPreview.tsx index 92aea8bb7d..32bafeb3fa 100644 --- a/src/components/structures/LegacyCommunityPreview.tsx +++ b/src/components/structures/LegacyCommunityPreview.tsx @@ -28,7 +28,6 @@ import { linkifyElement } from "../../HtmlUtils"; import defaultDispatcher from "../../dispatcher/dispatcher"; import { Action } from "../../dispatcher/actions"; import { UserTab } from "../views/dialogs/UserSettingsDialog"; -import MainSplit from './MainSplit'; interface IProps { groupId: string; @@ -49,11 +48,11 @@ const LegacyCommunityPreview = ({ groupId }: IProps) => { if (!groupSummary) { return
- +
- +
; } @@ -70,7 +69,7 @@ const LegacyCommunityPreview = ({ groupId }: IProps) => { return
- +
{ }
-
+
; };