From 0b568a089f2da50a1d581c1a2258b84b2c6343b7 Mon Sep 17 00:00:00 2001 From: MyNameIsBatman Date: Fri, 3 Sep 2021 02:18:45 -0300 Subject: [PATCH] Fix Group Furniture Context Menu --- .../furniture/context-menu/FurnitureContextMenuView.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/room/widgets/furniture/context-menu/FurnitureContextMenuView.tsx b/src/views/room/widgets/furniture/context-menu/FurnitureContextMenuView.tsx index 37fe9422..8b3f879a 100644 --- a/src/views/room/widgets/furniture/context-menu/FurnitureContextMenuView.tsx +++ b/src/views/room/widgets/furniture/context-menu/FurnitureContextMenuView.tsx @@ -1,7 +1,7 @@ import { ContextMenuEnum, GroupFurniContextMenuInfoMessageParser, RoomEngineTriggerWidgetEvent, RoomObjectCategory } from '@nitrots/nitro-renderer'; import { GroupFurniContextMenuInfoMessageEvent } from '@nitrots/nitro-renderer/src/nitro/communication/messages/incoming/room/furniture/GroupFurniContextMenuInfoMessageEvent'; import { FC, useCallback, useState } from 'react'; -import { GetRoomEngine, IsOwnerOfFurniture, LocalizeText, RoomWidgetFurniActionMessage, TryVisitRoom } from '../../../../../api'; +import { GetGroupInformation, GetRoomEngine, IsOwnerOfFurniture, LocalizeText, RoomWidgetFurniActionMessage, TryVisitRoom } from '../../../../../api'; import { TryJoinGroup } from '../../../../../api/groups/TryJoinGroup'; import { CreateMessageHook } from '../../../../../hooks'; import { useRoomEngineEvent } from '../../../../../hooks/events'; @@ -183,7 +183,7 @@ export const FurnitureContextMenuView: FC<{}> = props => } { (mode === GROUP_FURNITURE) && groupData && <> - + GetGroupInformation(groupData.guildId) }> { groupData.guildName } { !isGroupMember && processAction('join_group') }>