add mobile context menu

This commit is contained in:
Gigiaj 2025-06-18 01:14:13 -05:00
parent 7cd2a4a143
commit 69c916f1b8

View file

@ -516,6 +516,21 @@ function SpaceTab({
}
/>
)}
{createPortal(
<MobileContextMenu
onClose={() => {
setMobileSheetOpen(false);
}}
isOpen={isMobileSheetOpen}
>
<SpaceMenu
room={space}
requestClose={() => setMobileSheetOpen(false)}
onUnpin={onUnpin}
/>
</MobileContextMenu>,
document.body
)}
</SidebarItem>
)}
</RoomUnreadProvider>