Merge pull request #6819 from matrix-org/t3chguy/fix/build1
This commit is contained in:
commit
3da02f1546
2 changed files with 5 additions and 6 deletions
|
@ -28,7 +28,6 @@ import { linkifyElement } from "../../HtmlUtils";
|
||||||
import defaultDispatcher from "../../dispatcher/dispatcher";
|
import defaultDispatcher from "../../dispatcher/dispatcher";
|
||||||
import { Action } from "../../dispatcher/actions";
|
import { Action } from "../../dispatcher/actions";
|
||||||
import { UserTab } from "../views/dialogs/UserSettingsDialog";
|
import { UserTab } from "../views/dialogs/UserSettingsDialog";
|
||||||
import MainSplit from './MainSplit';
|
|
||||||
|
|
||||||
interface IProps {
|
interface IProps {
|
||||||
groupId: string;
|
groupId: string;
|
||||||
|
@ -49,11 +48,11 @@ const LegacyCommunityPreview = ({ groupId }: IProps) => {
|
||||||
|
|
||||||
if (!groupSummary) {
|
if (!groupSummary) {
|
||||||
return <main className="mx_SpaceRoomView">
|
return <main className="mx_SpaceRoomView">
|
||||||
<MainSplit>
|
<div className="mx_MainSplit">
|
||||||
<div className="mx_SpaceRoomView_preview">
|
<div className="mx_SpaceRoomView_preview">
|
||||||
<Spinner />
|
<Spinner />
|
||||||
</div>
|
</div>
|
||||||
</MainSplit>
|
</div>
|
||||||
</main>;
|
</main>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -70,7 +69,7 @@ const LegacyCommunityPreview = ({ groupId }: IProps) => {
|
||||||
|
|
||||||
return <main className="mx_SpaceRoomView">
|
return <main className="mx_SpaceRoomView">
|
||||||
<ErrorBoundary>
|
<ErrorBoundary>
|
||||||
<MainSplit>
|
<div className="mx_MainSplit">
|
||||||
<div className="mx_SpaceRoomView_preview">
|
<div className="mx_SpaceRoomView_preview">
|
||||||
<GroupAvatar
|
<GroupAvatar
|
||||||
groupId={groupId}
|
groupId={groupId}
|
||||||
|
@ -108,7 +107,7 @@ const LegacyCommunityPreview = ({ groupId }: IProps) => {
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</MainSplit>
|
</div>
|
||||||
</ErrorBoundary>
|
</ErrorBoundary>
|
||||||
</main>;
|
</main>;
|
||||||
};
|
};
|
||||||
|
|
|
@ -24,7 +24,7 @@ import { Direction } from "re-resizable/lib/resizer";
|
||||||
interface IProps {
|
interface IProps {
|
||||||
resizeNotifier: ResizeNotifier;
|
resizeNotifier: ResizeNotifier;
|
||||||
collapsedRhs?: boolean;
|
collapsedRhs?: boolean;
|
||||||
panel: JSX.Element;
|
panel?: JSX.Element;
|
||||||
}
|
}
|
||||||
|
|
||||||
@replaceableComponent("structures.MainSplit")
|
@replaceableComponent("structures.MainSplit")
|
||||||
|
|
Loading…
Reference in a new issue