You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-12-08 17:48:33 +03:00
Fix couple of Spaces regressions (#6989)
This commit is contained in:
committed by
GitHub
parent
a9c27e22b5
commit
427afc83aa
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user