1
0
mirror of https://github.com/element-hq/element-web.git synced 2025-11-29 21:23:11 +03:00

Fix couple of Spaces regressions (#6989)

This commit is contained in:
Michael Telatynski
2021-10-19 17:10:34 +01:00
committed by GitHub
parent a9c27e22b5
commit 427afc83aa
2 changed files with 1 additions and 8 deletions

View File

@@ -128,7 +128,7 @@ const useMyRoomMembership = (room: Room) => {
};
const SpaceInfo = ({ space }: { space: Room }) => {
const summary = useAsyncMemo(() => {
const summary = useAsyncMemo(async () => {
if (space.getMyMembership() !== "invite") return;
try {
return space.client.getRoomSummary(space.roomId);